diff --git a/docker-compose.yml b/docker-compose.yml index fefe559..72eef2f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"