-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-compose-testnet.yml
58 lines (57 loc) · 1.65 KB
/
docker-compose-testnet.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
version: '3.9'
services:
oasis-node-testnet:
build: docker/oasis-node
# restart: always
volumes:
- oasis-node-data:/node/data:z
# Oasis-node config file
- ./docker/oasis-node/config-testnet.yml:/node/etc/config.yml:z
# Genesis file
- ./docker/genesis-testnet.json:/node/etc/genesis.json:z
# Expose sock
oasis-explorer:
build: docker/oasis-explorer
restart: always
ports:
- '127.0.0.1:9001:9001'
volumes:
- oasis-node-data:/node/data:z
- ./docker/genesis-testnet.json:/genesis.json:z
- ./docker/oasis-explorer/config-testnet.json:/.secrets/config.json:z
envoy:
image: docker.io/envoyproxy/envoy:v1.21.3
ports:
- '127.0.0.1:42280:42280'
- '127.0.0.1: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:z
ports:
- '127.0.0.1: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:
- '127.0.0.1:8123:8123'
- '127.0.0.1:9000:9000'
volumes:
oasis-node-data:
postgres-data:
explorer-postgres-data:
explorer-clickhouse-data: