mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 22:34:22 +03:00
9b7495c4ae
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3128 GitOrigin-RevId: a8ab8fc8e022166e27fcc68199311b1626930759
20 lines
623 B
YAML
20 lines
623 B
YAML
version: '3.6'
|
|
services:
|
|
postgres:
|
|
image: postgres:12
|
|
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 |