forked from celo-org/op-succinct
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-celestia.yml
More file actions
59 lines (56 loc) · 1.53 KB
/
docker-compose-celestia.yml
File metadata and controls
59 lines (56 loc) · 1.53 KB
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
services:
postgres:
image: postgres:15
environment:
POSTGRES_USER: op-succinct
POSTGRES_DB: op-succinct
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
op-celestia-indexer:
image: opcelestia/op-celestia-indexer:op-node-v1.13.6-rc.1
container_name: op-celestia-indexer
restart: unless-stopped
ports:
- "57220:57220"
env_file:
- ${ENV_FILE:-.env}
command:
- op-celestia-indexer
- --start-l1-block=${START_L1_BLOCK}
- --batch-inbox-address=${BATCH_INBOX_ADDRESS}
- --l1-eth-rpc=${L1_RPC}
- --l2-eth-rpc=${L2_RPC}
- --op-node-rpc=${L2_NODE_RPC}
- --rpc.enable-admin
- --rpc.addr=0.0.0.0
- --rpc.port=57220
- --da.rpc=${CELESTIA_CONNECTION}
- --da.namespace=${NAMESPACE}
- --db-path=/data/indexer.db
volumes:
- indexer-data:/data
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:57220"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
op-succinct-celestia:
build:
context: .
dockerfile: ./validity/Dockerfile.celestia
env_file:
- ${ENV_FILE:-.env}
environment:
- DATABASE_URL=postgres://op-succinct@postgres:5432/op-succinct
- CELESTIA_INDEXER_RPC=http://op-celestia-indexer:57220
depends_on:
- postgres
- op-celestia-indexer
restart: unless-stopped
volumes:
postgres-data:
indexer-data: