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

17 lines
421 B
YAML
Raw Normal View History

2022-08-30 11:13:11 +02:00
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