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