-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
30 lines (30 loc) · 999 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '3.6'
services:
adminer:
image: adminer
ports:
- "8081:8080"
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: postgres
volumes:
- db_data:/var/lib/postgresql/data
graphql-engine:
image: hasura/graphql-engine:v1.3.3
ports:
- "8080:8080"
depends_on:
- "postgres"
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
HASURA_GRAPHQL_ENABLE_CONSOLE: "false" # set to "false" to disable console
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_ENABLE_TELEMETRY: "false"
HASURA_GRAPHQL_ADMIN_SECRET: dev
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: "unauthorized"
HASURA_GRAPHQL_JWT_SECRET: '{ "type": "HS256", "key": "this is a secret developpement key" }'
HASURA_ACTION_BASE_URL: "http://host.docker.internal:4000"
HASURA_GRAPHQL_ADMIN_INTERNAL_ERRORS: "true"
volumes:
db_data: