Add Syncthing to server container stack

This commit is contained in:
Fabio Scotto di Santolo
2026-04-20 14:20:53 +02:00
parent 8ed4ce7887
commit a276fa8970
4 changed files with 46 additions and 1 deletions

View File

@@ -68,6 +68,23 @@ services:
- "3000:3000"
- "127.0.0.1:222:22"
syncthing:
image: syncthing/syncthing:2
container_name: syncthing
hostname: syncthing
restart: unless-stopped
expose:
- "8384"
volumes:
- "/opt/syncthing/config:/var/syncthing"
- "/srv/syncthing/data:/data"
ports:
- "22000:22000/tcp"
- "22000:22000/udp"
- "21027:21027/udp"
networks:
- web
networks:
web:
external: false