version: "3.7"
services:
syncthing:
image: codiy/syncthing
container_name: syncthing
hostname: syncthing
environment:
- PUID=501
- PGID=20
volumes:
- ${STORAGE_PATH}/syncthing:/var/syncthing
- ${STORAGE_PATH}/stdiscosrv:/var/stdiscosrv
- ${STORAGE_PATH}/strelaysrv:/var/strelaysrv
- ${STORAGE_PATH}/folder_to_sync:/data/foo
network_mode: host # Use host network to set up UPnP on the router
# ports:
# - 8384:8384
# - 22000:22000/tcp
# - 22000:22000/udp
# - 8443:8443
# - 22067:22067
restart: always
logging:
driver: json-file
options:
max-size: 1m
Content type
Image
Digest
Size
36.8 MB
Last updated
over 4 years ago
docker pull codiy/syncthing