chore: app healthcheck
This commit is contained in:
@@ -8,12 +8,15 @@ services:
|
|||||||
target: production
|
target: production
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- "5173:80"
|
- "5173:80" # Only expose Nginx
|
||||||
- "8080:8080"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
db:
|
||||||
- minio
|
condition: service_healthy
|
||||||
- redis
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
|
|||||||
Reference in New Issue
Block a user