2020-04-15 04:56:00 +03:00
|
|
|
version: '3.6'
|
|
|
|
services:
|
|
|
|
postgres:
|
2022-12-01 07:43:07 +03:00
|
|
|
image: postgres:14
|
2020-04-15 04:56:00 +03:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgrespassword
|
|
|
|
graphql-engine:
|
|
|
|
container_name: graphql-engine
|
2021-12-14 17:50:25 +03:00
|
|
|
image: ${TEST_IMAGE_NAME}
|
|
|
|
platform: ${TEST_PLATFORM}
|
2020-04-15 04:56:00 +03:00
|
|
|
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
|