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