UNPKG

jonmagic-graphql-sequelize

Version:

GraphQL & Relay for MySQL & Postgres via Sequelize

39 lines (35 loc) 719 B
dev: build: . links: - postgres - mysql volumes: - .:/src/graphql-sequelize environment: DIALECT: "${DIALECT}" postgres: image: postgres:9.4 environment: POSTGRES_USER: graphql_sequelize_test POSTGRES_PASSWORD: graphql_sequelize_test mysql: image: mysql:5.6 environment: MYSQL_USER: test MYSQL_PASSWORD: test MYSQL_DATABASE: test MYSQL_ALLOW_EMPTY_PASSWORD: 1 benchmark_server: build: . command: [node, test/benchmark.js] ports: - "4001:4001" links: - postgres volumes: - .:/src/graphql-sequelize environment: DIALECT: postgres DB_DATABASE: graphql_sequelize_test DB_USER: graphql_sequelize_test DB_PASSWORD: graphql_sequelize_test