version: '3.9' services: syncthing: image: syncthing/syncthing:1 restart: unless-stopped ports: - 127.0.0.1:8384:8384 # Make GUI available via SSH - 22000:22000/tcp - 22000:22000/udp volumes: - syncthing-data:/var/syncthing - ./config/cert.pem:/var/syncthing/config/cert.pem:ro,z - ./config/key.pem:/var/syncthing/config/key.pem:ro,z - ./config/config.xml:/var/syncthing/config/config.xml:ro,z hostname: "Netcup" labels: - "com.centurylinklabs.watchtower.scope=update" environment: - PUID=0 - PGID=0 - TZ=Europe/Berlin volumes: syncthing-data: