syncthing-monitor/docker-compose.yml
2021-01-28 12:56:11 +02:00

30 lines
486 B
YAML

---
version: "2.1"
services:
syncmon:
build: .
links:
- sync
volumes:
- syncconfig:/config
- syncdata:/data
sync:
image: ghcr.io/linuxserver/syncthing:${SYNCTHING_VERSION}
container_name: syncthing
hostname: syncthing
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- syncconfig:/config
- syncdata:/data
ports:
- ${SYNC_LISTEN_PORT}:22000
volumes:
syncconfig:
syncdata: