23 lines
482 B
YAML
23 lines
482 B
YAML
services:
|
|
syncthing:
|
|
image: lscr.io/linuxserver/syncthing:latest
|
|
container_name: syncthing
|
|
restart: unless-stopped
|
|
hostname: "${NODE_NAME}"
|
|
ports:
|
|
- "${WG_IP}:22000:22000/tcp"
|
|
- "${WG_IP}:22000:22000/udp"
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
volumes:
|
|
- ./config:/config
|
|
- ${SYNC_PATH}:/srv/sync
|
|
stop_grace_period: 1m
|
|
networks:
|
|
- proxy_pc
|
|
networks:
|
|
proxy_pc:
|
|
external: true
|