add condition requirements to docker-compose

This commit is contained in:
Grant 2024-05-26 14:59:07 -06:00
parent 0e7169c520
commit b6d9cfaffe
1 changed files with 4 additions and 2 deletions

View File

@ -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