version: "3" services: postgres_subgraph: image: postgres container_name: postgres_subgraph environment: POSTGRES_USER: root POSTGRES_PASSWORD: rootroot POSTGRES_DB: postgres_db ports: - "5432:5432" mysql_subgraph: image: mysql:8.0 container_name: mysql_subgraph environment: MYSQL_ROOT_PASSWORD: rootroot MYSQL_DATABASE: mysql_db MYSQL_PASSWORD: rootroot ports: - "3306:3306" mongo_subgraph: image: mongo container_name: mongo_subgraph restart: always environment: - MONGO_INITDB_DATABASE=admin - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD=rootroot ports: - "27017-27019:27017-27019" command: [--auth] volumes: - ./mongo/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro