change directory structure
This commit is contained in:
parent
b89713643d
commit
9eb52229f1
83 changed files with 0 additions and 0 deletions
22
ansible/roles/syncthing/templates/docker-compose.yml.j2
Normal file
22
ansible/roles/syncthing/templates/docker-compose.yml.j2
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
syncthing:
|
||||
image: lscr.io/linuxserver/syncthing:latest
|
||||
container_name: syncthing
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
hostname: syncthing
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- {{ service_dir }}/config:/config
|
||||
- {{ data_dir }}:/data
|
||||
ports:
|
||||
- 8384:8384
|
||||
- 22000:22000/tcp
|
||||
- 22000:22000/udp
|
||||
- 21027:21027/udp
|
||||
restart: unless-stopped
|
Reference in a new issue