services: syncthing: image: lscr.io/linuxserver/syncthing:latest container_name: syncthing hostname: MyPC #optional environment: - PUID=1000 - PGID=1000 - TZ=Africa/Tripoli volumes: - C:\Docker\AppData\syncthing\config:/config - C:\Docker\AppData\syncthing\Shared:/mnt/shared ports: - 8384:8384 - 22000:22000/tcp - 22000:22000/udp - 21027:21027/udp restart: unless-stopped