-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
43 lines (39 loc) · 994 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
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.6'
services:
postgres:
image: postgres
restart: always
ports:
- "5432:5432"
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: dbpassword
graphql-engine:
image: hasura/graphql-engine
ports:
- "8080:8080"
# depends_on:
# - "postgres"
restart: always
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:dbpassword@postgres:5432/hasura
HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
## uncomment next line to set an admin secret
HASURA_GRAPHQL_ADMIN_SECRET: ADMIN_SECRET
ices-sync:
image: ices-sync:v1.0.0
restart: always
ports:
- "8006:8006"
environment:
DATABASE_URL: postgres://postgres:dbpassword@postgres:5432/ices_sync
IC_URL: https://ic0.app
CANISTER_ID: ydetr-mqaaa-aaaah-aa6lq-cai
RUST_LOG: info
volumes:
db_data:
networks:
default:
external:
name: app_default