diff --git a/docker-compose.yml b/docker-compose.yml index ebbb0eb..fefe559 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -146,8 +146,9 @@ services: scale: ${AE_APP_REPLICAS:-1} env_file: - ./.env - ports: - - "${AE_APP_NODE_PORT}:3000" + # 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. extra_hosts: srv-nyx.oneskyit.com: "104.237.143.4" dev-app.oneskyit.com: "104.237.143.4"