compose-viz/tests/ymls/depends_on/docker-compose.yml

20 lines
303 B
YAML
Raw Permalink Normal View History

2022-05-24 10:02:47 +02:00
version: "3.9"
services:
frontend:
image: awesome/frontend
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
backend:
image: awesome/backend
depends_on:
- db
- redis
db:
image: mysql
redis:
image: redis