forked from FuelLabs/fuel-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (51 loc) · 1.55 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
version: '3.4'
services:
l1_chain:
image: fueldev/l1chain:${DOCKER_TAG_L1_CHAIN:-latest}
build:
dockerfile: ./docker/l1-chain/Dockerfile
# Use build context of the root directory
# to allow coping solidity-contracts on Dockerfile
context: ../
env_file:
- ./envs/l1_chain.env
ports:
# expose the service to the host for integration testing
- ${L1_CHAIN_HTTP_PORT:-8545}:9545
- ${DEPLOYMENTS_PORT:-8080}:8081
stop_grace_period: 1s
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:9545
DEPLOYMENTS_HTTP: http://l1_chain:8081/deployments.local.json
RUST_LOG: debug
DEBUG: true
ports:
# expose the service to the host for integration testing
- ${FUEL_CORE_HTTP_PORT:-4000}:4001
stop_grace_period: 1s
fuel_block_commiter:
depends_on:
- fuel_core
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:9545/
FUEL_GRAPHQL_ENDPOINT: http://fuel_core:4001/v1
DEPLOYMENTS_HTTP: http://l1_chain:8081/deployments.local.json
ports:
# expose the service to the host for integration testing
- ${COMMITTER_HTTP_PORT:-8888}:8888
stop_grace_period: 1s