2021-11-20 18:29:31 -06:00
|
|
|
# vim:ft=ansible:
|
|
|
|
- name: docker deploy syncthing
|
|
|
|
docker_container:
|
|
|
|
name: syncthing
|
|
|
|
image: linuxserver/syncthing:latest
|
|
|
|
env:
|
|
|
|
PUID: "1000"
|
|
|
|
PGID: "1000"
|
|
|
|
TZ: America/Chicago
|
2021-11-24 10:43:29 -06:00
|
|
|
networks:
|
|
|
|
- name: web
|
|
|
|
aliases: [ "syncthing" ]
|
2021-11-20 18:29:31 -06:00
|
|
|
volumes:
|
|
|
|
- /data/syncthing/config:/config
|
|
|
|
- /data/syncthing/data:/data
|
|
|
|
ports:
|
|
|
|
- 22000:22000/tcp
|
|
|
|
- 22000:22000/udp
|
|
|
|
- 21027:21027/udp
|
|
|
|
tags: [ docker, syncthing ]
|