Repository navigation
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
67 lines (64 loc) · 1.69 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
67 lines (64 loc) · 1.69 KB
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
# docker-compsoe file for testing networking with static IPs
services:
# node0:
# environment:
# RUST_BACKTRACE: 1
# RUST_LOG: zilliqa=info
# container_name: zilliqanode0
# image: asia-docker.pkg.dev/prj-p-devops-services-tvwmrf63/zilliqa-public/zq2:v0.5.3
# volumes:
# - "../zq2/zq2-infratest.toml:/config.toml"
# command:
# - 03ec029a940a2dd787f1c20419f82a37e6c0f0c38f05d11b21d12945d0c5bc3e
# ports:
# - "4201:4201"
# - "4202:4202"
# - "3333:3333/udp"
# networks:
# testnet:
# ipv4_address: 198.51.100.103
dashboard:
environment:
WS_SECRET: mysecret
container_name: dashboard
build:
context: ../ethstats-server
dockerfile: Dockerfile
# image: zilstats-server:latest
platform: linux/amd64
ports:
- "3000:3000"
# Fast shutdown - Don't gracefully close open connections.
stop_signal: SIGKILL
networks:
testnet:
ipv4_address: 198.51.100.10
client0:
depends_on:
- dashboard
#- node0
environment:
RPC_HOST: zq2-devnet-api-ase1-0-b549.zq2.dev #"198.51.100.103"
RPC_PORT: "4202"
LISTENING_PORT: "3333"
INSTANCE_NAME: "zq2-devnet-api-ase1-0-b549"
CONTACT_DETAILS: "devops@zilliqa.com"
WS_PORT: "4202"
WS_SERVER: "ws://198.51.100.10:3000"
WS_SECRET: "mysecret"
VERBOSITY: "2"
container_name: client0
build:
context: .
dockerfile: Dockerfile.zilliqa
# image: zilstats-client:latest
networks:
testnet:
ipv4_address: 198.51.100.50
networks:
testnet:
driver: bridge
ipam:
config:
- subnet: 198.51.100.0/24
gateway: 198.51.100.1