-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
67 lines (65 loc) · 1.92 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
60
61
62
63
64
65
66
67
version: "4"
services:
cyber:
image: cyberd/localbostrom:v4.0.0-rc1
container_name: localbostrom
volumes:
- ./bostrom_config:/root/.cyber/config
- ./data:/root/.cyber/data
- ./wasm:/root/.cyber/wasm
networks:
- localbostrom-net
ports:
- "26657:26657"
- "1317:1317"
- "9090:9090"
- "9091:9091"
postgres:
image: postgres:latest
restart: always
container_name: cyberindex-postgres
volumes:
- ./cyberindex/postgres:/var/lib/postgresql/data
- ./cyberindex/schema/:/docker-entrypoint-initdb.d/
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
networks:
- localbostrom-net
ports:
- 5432:5432
graphql-engine:
image: hasura/graphql-engine:latest
restart: always
container_name: cyberindex-hasura
depends_on:
- "postgres"
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_USER}
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_ADMIN_SECRET}
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: anonymous
networks:
- localbostrom-net
ports:
- ${HASURA_PORT}:8080
cyberindex:
image: cyberd/cyberindex:v2.0.0-rc1
restart: always
container_name: cyberindex
depends_on:
- "postgres"
- "cyber"
volumes:
- ./cyberindex:/root/.cyberindex
- .env:/.env
networks:
- localbostrom-net
networks:
localbostrom-net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.28.1.0/24