-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (27 loc) · 911 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (27 loc) · 911 Bytes
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
version: "3.8"
services:
celestia-light-client-init:
image: ghcr.io/celestiaorg/celestia-node:v0.16.0-rc0
environment:
NODE_TYPE: ${NODE_TYPE} # Ensure these environment variables are set in your shell or a .env file
P2P_NETWORK: ${NETWORK}
volumes:
- ${NODE_STORE_DIR}:/home/celestia
command: celestia ${NODE_TYPE} init --p2p.network ${NETWORK} --experimental-pruning
restart: on-failure
celestia-light-client:
image: ghcr.io/celestiaorg/celestia-node:v0.16.0-rc0
networks: [go-daash]
environment:
NODE_TYPE: ${NODE_TYPE}
P2P_NETWORK: ${NETWORK}
volumes:
- ${NODE_STORE_DIR}:/home/celestia
ports:
- "26658:26658"
command: celestia ${NODE_TYPE} start --core.ip ${CELESTIA_RPC_URL} --p2p.network ${NETWORK} --rpc.addr 0.0.0.0
depends_on:
- celestia-light-client-init
restart: always
networks:
go-daash: