1
0
Fork 0

add syncthing

This commit is contained in:
Lukáš Kucharczyk 2023-03-14 16:59:32 +01:00
parent d7d6ecc008
commit 464c1b0464
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 26 additions and 1 deletions

10
.env
View File

@ -61,4 +61,12 @@ MALOJA_INTERNAL_PORT=42010
PAPERLESS_EXTERNAL_PORT=8004 PAPERLESS_EXTERNAL_PORT=8004
PAPERLESS_INTERNAL_PORT=8000 PAPERLESS_INTERNAL_PORT=8000
HOMER_EXTERNAL_PORT=7080 HOMER_EXTERNAL_PORT=7080
HOMER_INTERNAL_PORT=8080 HOMER_INTERNAL_PORT=8080
SYNCTHING_EXTERNAL_PORT1=8384
SYNCTHING_INTERNAL_PORT1=8384
SYNCTHING_INTERNAL_PORT2=22000
SYNCTHING_INTERNAL_PORT2=22000/tcp
SYNCTHING_INTERNAL_PORT3=22000
SYNCTHING_INTERNAL_PORT3=22000/udp
SYNCTHING_INTERNAL_PORT4=21027
SYNCTHING_INTERNAL_PORT4=21027/udp

View File

@ -592,6 +592,23 @@ services:
GID: ${PGID} GID: ${PGID}
restart: unless-stopped restart: unless-stopped
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
volumes:
- "${DOCKER_STORAGE_PATH}/syncthing:/config"
- "${STORAGE_PATH}/docker-storage/syncthing:/general"
ports:
- "${SYNCTHING_EXTERNAL_PORT1}:${SYNCTHING_INTERNAL_PORT1}"
- "${SYNCTHING_EXTERNAL_PORT2}:${SYNCTHING_INTERNAL_PORT2}"
- "${SYNCTHING_EXTERNAL_PORT3}:${SYNCTHING_INTERNAL_PORT3}"
- "${SYNCTHING_EXTERNAL_PORT4}:${SYNCTHING_INTERNAL_PORT4}"
restart: unless-stopped
profiles:
- base
networks:
- public
networks: networks:
loki: loki:
caddy: caddy: