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