forked from Gravity-Bridge/Gravity-Bridge
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
executable file
·87 lines (81 loc) · 2.36 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3.3'
services:
gravity:
container_name: gravity
image: oraichain/foundation-oraibridge-module:0.0.1 # docker build -t oraichain/foundation-oraibridge-module:0.0.1 ./module
working_dir: /workspace
restart: on-failure
ports:
- 26657:26657
- 26656:26656
- 1317:1317
- 9090:9090
environment:
- GRAVITY_HOME=data/validator1
volumes:
- ./module:/workspace
- ./e2e/data/validator1:/workspace/e2e/data/validator1
command: sh -c 'gravity tendermint unsafe-reset-all --home ./e2e/data/validator1 && gravity start --home ./e2e/data/validator1'
first_fork:
container_name: first_fork
image: oraichain/foundation-oraibridge-evmfork:0.0.1 # docker build -t oraichain/foundation-oraibridge-evmfork:0.0.1 ./solidity
working_dir: /workspace
restart: on-failure
ports:
- 8545:8545
cap_add:
- SYS_PTRACE
volumes:
- ./solidity:/workspace
command: yarn hardhat node --config hardhat-first-fork.config.ts
second_fork:
container_name: second_fork
image: oraichain/foundation-oraibridge-evmfork:0.0.1
working_dir: /workspace
restart: on-failure
ports:
- 7545:8545
cap_add:
- SYS_PTRACE
volumes:
- ./solidity:/workspace
command: yarn hardhat node --config hardhat-second-fork.config.ts
orchestrator:
image: oraichain/foundation-oraibridge-orchestrator:0.0.1 # docker build -t oraichain/foundation-oraibridge-orchestrator:0.0.1 -f orchestrator/Dockerfile ./orchestrator
# apk add make upx
# upx --best --lzma
working_dir: /workspace
restart: on-failure
tty: true
volumes:
- ./orchestrator:/orchestrator
- ./e2e/.gbt/:/root/.gbt
entrypoint: tail -f /dev/null
depends_on:
- gravity
orai:
container_name: orai_test
image: oraichain/foundation-orai:0.41.0-alpine-prod
working_dir: /workspace
tty: true
ulimits:
nofile:
soft: 65536
hard: 65536
ports:
- 2317:1317
- 36656:26656
- 36657:26657
- 8090:9090
cap_add:
- SYS_PTRACE
volumes:
- ./e2e:/workspace
command: sh -c 'oraid tendermint unsafe-reset-all && oraid start'
hermes:
image: informalsystems/hermes:1.2.0
working_dir: /workspace
tty: true
entrypoint: tail -f /dev/null
volumes:
- ./e2e/hermes-test:/workspace