modified: main_dc/docker-compose.yml
modified: main_dc/yalarba/api_es/.env change port to variable from .env file
This commit is contained in:
@@ -242,7 +242,7 @@ services:
|
|||||||
DB_USER: postgres
|
DB_USER: postgres
|
||||||
DB_PASSWORD: postgres
|
DB_PASSWORD: postgres
|
||||||
DB_NAME: mydb
|
DB_NAME: mydb
|
||||||
APP_PORT: 8081
|
APP_PORT: ${API_ES_APP_PORT}
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
- web-network
|
- web-network
|
||||||
@@ -254,7 +254,7 @@ services:
|
|||||||
"--no-verbose",
|
"--no-verbose",
|
||||||
"--tries=1",
|
"--tries=1",
|
||||||
"--spider",
|
"--spider",
|
||||||
"http://localhost:8088/health",
|
"http://localhost:${API_ES_APP_PORT}/health",
|
||||||
]
|
]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ JWT_SECRET=secret
|
|||||||
UPLOAD_PATH=./storage/uploads
|
UPLOAD_PATH=./storage/uploads
|
||||||
ENVIRONMENT=development
|
ENVIRONMENT=development
|
||||||
LOG_LEVEL=debug
|
LOG_LEVEL=debug
|
||||||
APP_PORT=8088
|
API_ES_APP_PORT=8088
|
||||||
Reference in New Issue
Block a user