fids/flights-domain/docker-compose.dev.yml

32 lines
719 B
YAML

version: '3.8'
services:
flights-api-dev:
extends:
file: docker-template.yml
service: flights-api
container_name: fids_flights_api_dev
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASS}@flights-api-db-dev/${POSTGRES_DB}
depends_on:
flights-api-db-dev:
condition: service_healthy
networks:
- flights-dev
- subscriptions-dev
flights-api-db-dev:
extends:
file: docker-template.yml
service: flights-api-db
container_name: fids_flights_db_dev
networks:
- flights-dev
networks:
subscriptions-dev:
name: subscription-domain_subscriptions-dev
external: true
flights-dev:
driver: bridge