mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-11 13:49:03 +00:00
d29106ed3c
Fix port collision between Node.js console (PORT=5000) and Go signal server by introducing SIGNAL_PORT with higher precedence. Changes: - betterdesk-server/config/config.go: prefer SIGNAL_PORT over PORT when setting SignalPort. - Dockerfile: add ENV SIGNAL_PORT=21116 default. - docker/entrypoint.sh: export SIGNAL_PORT with default 21116 before supervisord start. - docker/supervisord.conf: set SIGNAL_PORT=21116 in Go server environment. - .github/copilot-instructions.md: document the root cause and fixes; update last-modified date. This prevents EADDRINUSE races in the single-container Docker setup while keeping multi-container setups unaffected.