graphql-engine/packaging/cli-migrations/v2/test/docker-compose.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
623 B
YAML
Raw Normal View History

version: '3.6'
services:
postgres:
image: postgres:14
restart: always
environment:
POSTGRES_PASSWORD: postgrespassword
graphql-engine:
container_name: graphql-engine
image: ${TEST_IMAGE_NAME}
platform: ${TEST_PLATFORM}
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