syncthing: fix reverse proxy

This commit is contained in:
2025-10-17 10:38:21 +02:00
parent 96c70338d1
commit b86b524475

View File

@@ -3,7 +3,6 @@ services:
image: syncthing/syncthing:2.0
container_name: syncthing-valentin
hostname: syncthing-valentin
network_mode: host
environment:
- PUID=1000
- PGID=1000
@@ -19,6 +18,9 @@ services:
published: 21027
mode: host
- 8384
networks:
- default
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.syncthing-valentin.rule=Host(`syncthing-valentin.lan`)"
@@ -47,3 +49,8 @@ volumes:
type: 'nfs'
o: 'addr=truenas.lan'
device: ':/mnt/main_storage/valentin/Photos'
networks:
proxy:
external: true
name: proxy