add condition requirements to docker-compose
This commit is contained in:
parent
0e7169c520
commit
b6d9cfaffe
|
@ -17,8 +17,10 @@ services:
|
||||||
- AUTH_CLIENT=canvas
|
- AUTH_CLIENT=canvas
|
||||||
- AUTH_SECRET=${AUTH_SECRET}
|
- AUTH_SECRET=${AUTH_SECRET}
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
redis:
|
||||||
- postgres
|
condition: service_healthy
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
|
|
Loading…
Reference in New Issue