--- # See https://github.com/syncthing/syncthing/blob/main/README-Docker.md version: "3" services: syncthing: image: syncthing/syncthing:1.27.2 container_name: syncthing hostname: ${HOSTNAME} environment: - PUID=1000 - PGID=100 volumes: - ./config:/var/syncthing/config - ./data:/var/syncthing/data network_mode: host restart: unless-stopped