mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 09:35:39 +00:00
3a73870706
Root cause: config.js defaults apiHost to 127.0.0.1 (localhost-only). Inside Docker containers, this means port 21121 only listens on the loopback interface, making it unreachable from outside the container despite docker port mapping. docker-compose.single.yml already had API_HOST=0.0.0.0, but docker-compose.yml (multi-container) and docker-compose.quick.yml (GHCR pre-built) were missing it. Fixes: - docker-compose.yml: Add HOST=0.0.0.0 and API_HOST=0.0.0.0 - docker-compose.quick.yml: Add HOST=0.0.0.0 and API_HOST=0.0.0.0 - Dockerfile.console: Add ENV API_HOST=0.0.0.0 - Dockerfile (single): Add ENV API_HOST=0.0.0.0 - docker/entrypoint.sh: Export API_HOST and HOST defaults - docker/supervisord.conf: Add API_HOST and HOST to console env Fixes #78