ansible/playbooks/tasks/app/syncthing.yml

21 lines
468 B
YAML

# vim:ft=ansible:
- name: docker deploy syncthing
docker_container:
name: syncthing
image: linuxserver/syncthing:latest
env:
PUID: "1000"
PGID: "1000"
TZ: America/Chicago
networks:
- name: web
aliases: [ "syncthing" ]
volumes:
- /data/syncthing/config:/config
- /data/syncthing/data:/data
ports:
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
tags: [ docker, syncthing ]