fix(service): hoppscotch fails to start due to db unhealthy
This commit is contained in:
parent
21ed8fd300
commit
f1b8aaed2e
1 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
image: hoppscotch/hoppscotch:latest
|
image: hoppscotch/hoppscotch:2026.2.1
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_URL_HOPPSCOTCH_80
|
- SERVICE_URL_HOPPSCOTCH_80
|
||||||
- VITE_ALLOWED_AUTH_PROVIDERS=${VITE_ALLOWED_AUTH_PROVIDERS:-GOOGLE,GITHUB,MICROSOFT,EMAIL}
|
- VITE_ALLOWED_AUTH_PROVIDERS=${VITE_ALLOWED_AUTH_PROVIDERS:-GOOGLE,GITHUB,MICROSOFT,EMAIL}
|
||||||
|
|
@ -34,7 +34,7 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
hoppscotch-db:
|
hoppscotch-db:
|
||||||
image: postgres:latest
|
image: postgres:15
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -51,7 +51,7 @@ services:
|
||||||
|
|
||||||
db-migration:
|
db-migration:
|
||||||
exclude_from_hc: true
|
exclude_from_hc: true
|
||||||
image: hoppscotch/hoppscotch:latest
|
image: hoppscotch/hoppscotch:2026.2.1
|
||||||
depends_on:
|
depends_on:
|
||||||
hoppscotch-db:
|
hoppscotch-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue