This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/roles/syncthing/templates/docker-compose.yml.j2

23 lines
503 B
Text
Raw Normal View History

---
version: "2.1"
services:
syncthing:
2023-02-05 16:33:02 +00:00
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:
2023-01-07 19:32:42 +00:00
- {{ service_dir }}/config:/config
- {{ data_dir }}:/data
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped