umbrel-apps/syncthing/docker-compose.yml
2022-05-16 15:30:51 +02:00

25 lines
648 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: $APP_SYNCTHING_IP
APP_PORT: $APP_SYNCTHING_PORT
server:
image: syncthing/syncthing:1.18.4@sha256:97fc6221819aceab9055d120a01d2981a30d3aef962f1ec5eda2b21cfaa883c8
restart: on-failure
stop_grace_period: 1m
hostname: umbrel
environment:
- PUID=1000
- PGID=1000
volumes:
- ${APP_DATA_DIR}/data:/var/syncthing
ports:
- ${APP_SYNCTHING_SYNC_PORT}:${APP_SYNCTHING_SYNC_PORT}/tcp
- ${APP_SYNCTHING_SYNC_PORT}:${APP_SYNCTHING_SYNC_PORT}/udp
networks:
default:
ipv4_address: ${APP_SYNCTHING_IP}