Some checks failed
Nix Format Check / check-format (push) Failing after 38s
21 lines
578 B
YAML
21 lines
578 B
YAML
---
|
|
- name: Ensure golink data directory exists
|
|
ansible.builtin.file:
|
|
path: /mnt/storage-box/golink/data
|
|
state: directory
|
|
mode: '0755'
|
|
owner: '1000'
|
|
group: '100'
|
|
|
|
- name: Deploy golink docker container
|
|
community.docker.docker_container:
|
|
name: golink
|
|
image: ghcr.io/tailscale/golink:main
|
|
restart_policy: unless-stopped
|
|
env:
|
|
PUID: '1000'
|
|
PGID: '100'
|
|
TS_AUTHKEY: "{{ lookup('onepassword', '4gsgavajnxfpcrjvbkqhoc4drm', vault='j7nmhqlsjmp2r6umly5t75hzb4') }}"
|
|
volumes:
|
|
- /mnt/storage-box/golink/data:/home/nonroot
|