version: "3.5" services: syncthing: container_name: linuxserver-syncthing image: ghcr.io/linuxserver/syncthing networks: - custom-bridge restart: unless-stopped ports: - ${SYNCTHING_WEBUI_PORT:-8384}:8384 - ${SYNCTHING_LST_TCP:-22000}/tcp:22000/tcp - ${SYNCTHING_LST_UDP:-22000}/udp:22000/udp - ${SYNCTHING_PORT_DSC:-21027}/udp:21027/udp env_file: .env sysctls: - net.core.rmem_max=2097152 volumes: - ${SYNCTHING_CONFIG:-/home/docker/syncthing/config}:/config - ${SYNCTHING_DATA:-/home/docker/syncthing/data}:/data networks: custom-bridge: name: custom-bridge driver: bridge