I started by deploying the Syncthing/discosrv container using Docker Compose, here is the YAML code:
version: "3"
services:
syncthing_discovery_server:
image: syncthing/discosrv
container_name: syncthing-discovery-server
command: -debug -listen=":8443"
environment:
- PUID=0
- PGID=0
volumes:
- /wherever/st-sync/config:/var/stdiscosrv
ports:
- 8443:8443 # Listen address (default “:8443”)
restart: always
However, the containers deployed in this way would keep restarting repeatedly, making them completely unsuitable for use.
Here is its execution logs:
stdiscosrv: error: unknown flag -e, did you mean one of "-h", "-d", "-v"?
Then I tried to download the Release version of syncthing/discosrv, but when it ran, it looked like it was running, but it didn’t work
This picture is already running stdiscosrv server
Then I went and configured the global discovery server
But it still doesn’t work
relaysrv server is OK
stdiscosrv server only work on windows server