forked from forbole/callisto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (57 loc) · 1.79 KB
/
docker-compose.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '3.6'
services:
telemetry_db:
image: postgres:14
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_USER=telemetry
- POSTGRES_PASSWORD=telemetry
- POSTGRES_DB=telemetry
- PGDATA=/pgdata
volumes:
- telemetry-data:/pgdata
hasura_db:
image: postgres:14
ports:
- "5433:5432"
restart: unless-stopped
environment:
- POSTGRES_USER=hasura
- POSTGRES_PASSWORD=hasura
- POSTGRES_DB=hasura
- PGDATA=/pgdata
volumes:
- hasura-data:/pgdata
hasura:
image: hasura/graphql-engine:v2.6.1
ports:
- "8080:8080"
- "3000:3000"
restart: always
environment:
## this env var can be used to add the above postgres database to Hasura as a data source. this can be removed/updated based on your needs
HASURA_GRAPHQL_DATABASE_URL: "postgres://hasura:hasura@hasura_db/hasura?sslmode=disable"
PG_DATABASE_URL: "postgres://telemetry:telemetry@telemetry_db/telemetry"
## enable the console served by server
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
## enable debugging mode. It is recommended to disable this in production
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: "startup, http-log, webhook-log, websocket-log, query-log"
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: "anonymous"
ACTION_BASE_URL: "http://localhost:3000"
## uncomment next line to set an admin secret
# HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
#bdjuno:
# build:
# context: .
# dockerfile: Dockerfile
# restart: always
# command: bdjuno parse --home /root/.bdjuno
# volumes:
# ## Modify first path to match configuration file.
# - /root/.bdjuno:/root/.bdjuno
volumes:
telemetry-data:
hasura-data: