diff --git a/syncthing/docker-compose.yaml b/syncthing/docker-compose.yaml index d2ffb8d..b958b06 100644 --- a/syncthing/docker-compose.yaml +++ b/syncthing/docker-compose.yaml @@ -9,10 +9,15 @@ services: volumes: - /srv/syncthing-data:/var/syncthing - /srv/obsidian-config/Obsidian Vault:/obsidian - network_mode: host + ports: + - "8384:8384" # Web UI (configure in nginx-proxy-manager) + - "22000:22000/tcp" # Syncthing protocol (TCP) + - "22000:22000/udp" # Syncthing protocol (UDP) + - "21027:21027/udp" # Local discovery + networks: + - npm-network restart: unless-stopped networks: - default: - external: - name: npm-network \ No newline at end of file + npm-network: + external: true \ No newline at end of file