You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: ordinals_ord_1
|
|
APP_PORT: 80
|
|
PROXY_AUTH_ADD: "false"
|
|
|
|
ord:
|
|
image: nmfretz/ord:0.18.2@sha256:9f9445ae39df02c31ccf5e604f2539f148ccbd38703e717e1208b08583b9d406
|
|
# This needs to run as root
|
|
# user: "1000:1000"
|
|
restart: on-failure
|
|
stop_grace_period: 15m30s
|
|
command: "ord server --http"
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/ord:/var/lib/ord
|
|
- ${APP_BITCOIN_DATA_DIR}:/var/lib/bitcoind:ro
|
|
environment:
|
|
ORD_DATA_DIR: "/var/lib/ord"
|
|
ORD_BITCOIN_DATA_DIR: "/var/lib/bitcoind"
|
|
ORD_COOKIE_FILE: "/var/lib/bitcoind/.cookie"
|
|
ORD_BITCOIN_RPC_USERNAME: "${APP_BITCOIN_RPC_USER}"
|
|
ORD_BITCOIN_RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
|
|
ORD_BITCOIN_RPC_URL: "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}"
|
|
ORD_CHAIN: "${APP_BITCOIN_NETWORK}"
|
|
# First-inscription-height may not be needed in the future. It would be nice to remove it so that other chains like testnet are not impacted.
|
|
# ORD_FIRST_INSCRIPTION_HEIGHT: "767430"
|
|
ORD_INDEX_RUNES: "true"
|
|
# TODO: consider index-sats
|
|
|