forked from mehdius1364/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.celestia.yml
50 lines (49 loc) · 1.43 KB
/
docker-compose.celestia.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
version: '3.8'
services:
celestia-node: #this is Celestia's light client
build:
context: .
dockerfile: ./celestia-node.Dockerfile
ports:
- 26650:26650 # GRPC
- 26659:26659 # REST
env_file:
- networks/${CONDUIT_NETWORK:?set network}/.env
- .env
op-geth: # this is Optimism's geth client
build:
context: .
dockerfile: op-geth.Dockerfile
ports:
- 8545:8545 # RPC
- 8546:8546 # websocket
- 30303:30303 # P2P TCP (currently unused)
- 30303:30303/udp # P2P UDP (currently unused)
- 7301:6060 # metrics
env_file:
- .env.default
- networks/${CONDUIT_NETWORK:?set network}/.env
- .env
volumes:
#- ./geth-data/:/data # enable to have persistency between restarts
- ./networks/${CONDUIT_NETWORK:?set network}/genesis.json:/genesis.json
op-node:
build:
context: .
dockerfile: celestia-op-node.Dockerfile
depends_on:
- op-geth
ports:
- 7545:8545 # RPC
- 9222:9222 # P2P TCP
- 9222:9222/udp # P2P UDP
- 7300:7300 # metrics
- 6060:6060 # pprof
env_file:
- .env.default
- .env.default.celestia
- networks/${CONDUIT_NETWORK:?set network}/.env
- .env
volumes:
- ./networks/${CONDUIT_NETWORK:?set network}/rollup.json:/rollup.json
- ./networks/${CONDUIT_NETWORK:?set network}/genesis.json:/genesis.json