fix: restore ae_app host port mapping, scale=1 required for static port bind

This commit is contained in:
Scott Idem
2026-03-10 17:30:32 -04:00
parent 6d7cd97bd5
commit 055afda9c4

View File

@@ -119,7 +119,6 @@ services:
volumes:
- ./conf/aether_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py
- ./conf/aether_fastapi_requirements_current.txt:/requirements_current.txt
- ./conf/aether_api_config.py:/srv/aether_api/app/config.py
- ./logs/ae_api:/logs
- ${AE_API_SRC}:/srv/aether_api
- ${HOSTED_FILES_SRC}:/srv/hosted_files
@@ -146,9 +145,8 @@ services:
scale: ${AE_APP_REPLICAS:-1}
env_file:
- ./.env
# No host port mapping — nginx routes to ae_app:3000 on the internal network.
# With scale > 1, all replicas share the same service name and Docker
# round-robins between them. A static host port would conflict.
ports:
- "${AE_APP_NODE_PORT}:3000"
extra_hosts:
srv-nyx.oneskyit.com: "104.237.143.4"
dev-app.oneskyit.com: "104.237.143.4"