forked from fystack/multichain-indexer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.indexer.yml
More file actions
26 lines (25 loc) · 877 Bytes
/
docker-compose.indexer.yml
File metadata and controls
26 lines (25 loc) · 877 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
services:
transaction-indexer:
build:
context: .
dockerfile: Dockerfile
image: multichain-indexer
container_name: ${CONTAINER_NAME:-transaction-indexer}
restart: unless-stopped
network_mode: host
environment:
# Chain configuration - can be overridden via .env file
- CHAINS=${CHAINS:-tron_testnet}
- DEBUG=${DEBUG:-true}
- CATCHUP=${CATCHUP:-true}
- MANUAL=${MANUAL:-true}
volumes:
# Mount config file to correct location
- ./configs:/app/configs:ro
# Mount logs directory for persistent logging
- ./logs:/app/logs
# Mount data directory for BadgerDB (if using local storage)
- ./data:/app/data
# Mount certificates directory for TLS/mTLS connections
- ./certs:/app/certs:ro
command: ["index", "--chains=${CHAINS}", "--debug", "--catchup", "--manual"]