forked from verydogelabs/wonky-ord-dogecoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
31 lines (31 loc) · 1.23 KB
/
docker-compose.yaml
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
services:
ord-indexer:
build:
context: .
dockerfile: ./Dockerfile
env_file:
- .env
environment:
- RUST_LOG=${RUST_LOG:-info}
- STARTING_SATS_PATH=/starting_sats.json
- SUBSIDIES_PATH=/subsidies.json
- FIRST_INSCRIPTION_HEIGHT=4609723
- FIRST_DUNE_HEIGHT=5084000
tty: false
restart: "always"
# for the indexer to be able to connect to the local dogecoin node we use the host network
network_mode: "host"
# ports:
# - ${ORD_HTTP_PORT:-8080}:80
entrypoint: [ "ord", "--rpc-url=${RPC_URL}", "--data-dir=/root/.data", "--nr-parallel-requests=96", "--first-inscription-height=${FIRST_INSCRIPTION_HEIGHT}", "--first-dune-height=${FIRST_DUNE_HEIGHT}", "--index-dunes", "--index-transactions", "--index-drc20", "server" ]
volumes:
# - ${DOG_MOUNT_DIR_INDEXER:-/mnt/ord-node}/indexer-data-main:/root/.data:delegated
# If your dogecoin node is running in a container, you can mount the dogecoin data directory to the indexer container
# - dog-data:/root/.dogecoin
- /app/dogecoin-node/volume:/root/.dogecoin:ro
- ./wonky_ord_data:/root/.data
logging:
driver: "json-file"
options:
max-size: "50m"
privileged: true