-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-compose.yml
63 lines (62 loc) · 1.77 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
version: '3.9'
services:
oasis-node-local:
build: docker/oasis-node
# restart: always
volumes:
# Our local validator node
- ./docker/nodes/local-validator:/init_node:z
# Our local entity
- ./docker/entities/local-validator:/entity:z
# Will host blockchain data
- oasis-node-data:/node/data:z
# Oasis-node config file
- ./docker/oasis-node/config-local.yml:/node/etc/config.yml:z
# Genesis file
- ./docker/genesis-local.json:/node/etc/genesis.json:z
# Expose sock
oasis-explorer:
build: docker/oasis-explorer
restart: always
ports:
- '9001:9001'
volumes:
- oasis-node-data:/node/data:z
- ./docker/genesis-local.json:/genesis.json:z
- ./docker/oasis-explorer/config-local.json:/.secrets/config.json:z
envoy:
image: docker.io/envoyproxy/envoy:v1.21.3
ports:
- '42280:42280'
- '42281:42281'
command: envoy -c /etc/envoy/envoy.yaml --component-log-level upstream:debug,connection:trace
environment:
ENVOY_UID: 0
ENVOY_GID: 0
volumes:
- oasis-node-data:/node/data:z
- ./docker/envoy.yaml:/etc/envoy/envoy.yaml:z
explorer-postgres:
image: docker.io/library/postgres:16.0-alpine
restart: always
volumes:
- explorer-postgres-data:/var/lib/postgresql/data
ports:
- '5432:5432'
environment:
POSTGRES_PASSWORD: oasis
POSTGRES_USER: oasis
POSTGRES_DATABASE: oasis
explorer-clickhouse:
image: docker.io/clickhouse/clickhouse-server:23.1.3-alpine
restart: always
volumes:
- explorer-clickhouse-data:/var/lib/clickhouse:z
ports:
- '8123:8123'
- '9000:9000'
volumes:
oasis-node-data:
postgres-data:
explorer-postgres-data:
explorer-clickhouse-data: