From 3b38d15a4bb90698d6d60971b532cec2acbe86bb Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Wed, 12 Nov 2025 13:25:32 +0500 Subject: [PATCH] modified: main_dc/docker-compose.yml modified: main_dc/yalarba/api_es/.env change port to variable from .env file --- main_dc/docker-compose.yml | 4 ++-- main_dc/yalarba/api_es/.env | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main_dc/docker-compose.yml b/main_dc/docker-compose.yml index 7f6c02b..4a50b0b 100644 --- a/main_dc/docker-compose.yml +++ b/main_dc/docker-compose.yml @@ -242,7 +242,7 @@ services: DB_USER: postgres DB_PASSWORD: postgres DB_NAME: mydb - APP_PORT: 8081 + APP_PORT: ${API_ES_APP_PORT} networks: - app-network - web-network @@ -254,7 +254,7 @@ services: "--no-verbose", "--tries=1", "--spider", - "http://localhost:8088/health", + "http://localhost:${API_ES_APP_PORT}/health", ] interval: 30s timeout: 10s diff --git a/main_dc/yalarba/api_es/.env b/main_dc/yalarba/api_es/.env index 7af5620..836aa88 100644 --- a/main_dc/yalarba/api_es/.env +++ b/main_dc/yalarba/api_es/.env @@ -9,4 +9,4 @@ JWT_SECRET=secret UPLOAD_PATH=./storage/uploads ENVIRONMENT=development LOG_LEVEL=debug -APP_PORT=8088 \ No newline at end of file +API_ES_APP_PORT=8088 \ No newline at end of file