mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-06-15 01:59:08 +08:00
- Created new job test_and_build_cli_migrations which runs after test_and_build_cli - Build the cli-migrations and cli-migrations-v2 and save the images as tar image. - Run the test defined in each workflow v1 and v2. - Load the image that was built earlier in deploy step
19 lines
591 B
YAML
19 lines
591 B
YAML
version: '3.6'
|
|
services:
|
|
postgres:
|
|
image: postgres:12
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: postgrespassword
|
|
graphql-engine:
|
|
container_name: graphql-engine
|
|
image: cli-migrations-v2
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- "postgres"
|
|
restart: always
|
|
environment:
|
|
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
|
|
HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
|
|
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log |