fids/flights-domain/docker-compose.yml

34 lines
573 B
YAML

version: '3.8'
name: fids-flights
services:
flights-api:
extends:
file: docker-template.yml
service: flights-api
depends_on:
flights-api-db:
condition: service_healthy
networks:
- flights
- subscriptions
flights-api-db:
extends:
file: docker-template.yml
service: flights-api-db
volumes:
- flights_db:/var/lib/postgresql/data
networks:
- flights
networks:
subscriptions:
name: fids-subs_subscriptions
external: true
flights:
driver: bridge
volumes:
flights_db: