1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/syncthing/docker-compose.yml
2022-08-30 17:13:11 +08:00

17 lines
421 B
YAML

version: "3.8"
services:
syncthing:
image: syncthing/syncthing
ports:
- "8384:8384" # Web UI
- "22000:22000/tcp" # TCP file transfers
- "22000:22000/udp" # QUIC file transfers
- "21027:21027/udp" # Receive local discovery broadcasts
volumes:
- ./data:/var/syncthing
environment:
- PUID=1000
- PGID=1000
hostname: syncthing
restart: unless-stopped