This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathdocker-compose.yml
73 lines (69 loc) · 2.09 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
version: '3.4'
services:
l1_chain:
image: fueldev/l1chain:${DOCKER_TAG_L1_CHAIN:-latest}
platform: linux/amd64
build:
context: ./l1-chain/
env_file:
- ./envs/l1_chain.env
ports:
# expose the service to the host for integration testing
- ${L1_CHAIN_HTTP_PORT:-8545}:8545
- ${DEPLOYMENTS_PORT:-8080}:8081
fuel_core:
depends_on:
- l1_chain
image: fueldev/fuelcore:${DOCKER_TAG_FUEL_CORE:-latest}
platform: linux/amd64
build:
context: ./fuel-core/
env_file:
- ./envs/fuel_core.env
environment:
L1_CHAIN_HTTP: http://l1_chain:8545
DEPLOYMENTS_HTTP: http://l1_chain:8081/deployments.local.json
ports:
# expose the service to the host for integration testing
- ${FUEL_CORE_HTTP_PORT:-4000}:4001
healthcheck:
test: curl --fail http://localhost:4001/health || exit 1
interval: 10s
timeout: 10s
retries: 100
fuel_block_commiter:
depends_on:
fuel_core:
condition: service_healthy
l1_chain:
condition: service_started
image: fueldev/block-committer:${DOCKER_TAG_FUEL_CORE:-latest}
platform: linux/amd64
build:
context: ./block-committer/
env_file:
- ./envs/block_committer.env
environment:
ETHEREUM_RPC: ws://l1_chain:8545/
FUEL_GRAPHQL_ENDPOINT: http://fuel_core:4001
DEPLOYMENTS_HTTP: http://l1_chain:8081/deployments.local.json
ports:
# expose the service to the host for integration testing
- ${COMMITTER_HTTP_PORT:-8888}:8888
erc20_deployer:
depends_on:
fuel_core:
condition: service_healthy
l1_chain:
condition: service_started
platform: linux/amd64
build:
context: ./erc20-deployer/
environment:
L1_CHAIN_HTTP: http://l1_chain:8545
FUEL_GRAPHQL_ENDPOINT: http://fuel_core:4001/graphql
DEPLOYMENTS_HTTP: http://l1_chain:8081
PK_ETH_WALLET: 59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
ports:
# expose the service to the host for integration testing
- ${ERC20_HTTP_PORT:-8082}:9090