services: syncthing: image: lscr.io/linuxserver/syncthing:latest container_name: syncthing hostname: syncthing restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=America/New_York volumes: - ./config:/config - ./data:/data ports: - "8384:8384" - "22000:22000/tcp" - "22000:22000/udp" - "21027:21027/udp" networks: - web labels: - "traefik.enable=true" - "traefik.http.routers.syncthing.entrypoints=https" - "traefik.http.routers.syncthing.rule=Host(`syncthing.${DOMAIN}`)" - "traefik.http.routers.syncthing.tls.certresolver=http" - "traefik.http.services.syncthing.loadbalancer.server.port=8384" networks: web: external: true