fix: add healthcheck to valitovgaziz container
This commit is contained in:
@@ -66,6 +66,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
api_yal:
|
api_yal:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
valitovgaziz:
|
||||||
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost/health || exit 1"]
|
test: ["CMD-SHELL", "curl -f http://localhost/health || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -112,6 +114,12 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
analytics:
|
analytics:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--spider", "http://localhost/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 40s
|
||||||
|
|
||||||
# REST API app on Golang (Gorm, Chi) бизнес логика приложения yalarba.ru. Работает с БД на PostgresQL db:db_tp
|
# REST API app on Golang (Gorm, Chi) бизнес логика приложения yalarba.ru. Работает с БД на PostgresQL db:db_tp
|
||||||
api_tp:
|
api_tp:
|
||||||
|
|||||||
Reference in New Issue
Block a user