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