add syncthing
This commit is contained in:
parent
d7d6ecc008
commit
464c1b0464
8
.env
8
.env
|
@ -62,3 +62,11 @@ PAPERLESS_EXTERNAL_PORT=8004
|
|||
PAPERLESS_INTERNAL_PORT=8000
|
||||
HOMER_EXTERNAL_PORT=7080
|
||||
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
|
|
@ -592,6 +592,23 @@ services:
|
|||
GID: ${PGID}
|
||||
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:
|
||||
loki:
|
||||
caddy:
|
||||
|
|
Loading…
Reference in New Issue