2023-03-15 17:45:59 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: ordinals_ord_1
|
|
|
|
APP_PORT: 80
|
|
|
|
PROXY_AUTH_ADD: "false"
|
|
|
|
|
|
|
|
ord:
|
2024-08-28 23:09:03 +00:00
|
|
|
image: nmfretz/ord:0.19.1@sha256:db939ea09ecca6abfa1c9e755d73822332aa1783f667ee9d47b309c3b4f537d0
|
2023-03-15 17:45:59 +00:00
|
|
|
# This needs to run as root
|
|
|
|
# user: "1000:1000"
|
|
|
|
restart: on-failure
|
2024-04-18 12:59:43 +00:00
|
|
|
stop_grace_period: 15m30s
|
2024-04-06 04:06:04 +00:00
|
|
|
command: "ord server --http"
|
2023-03-15 17:45:59 +00:00
|
|
|
volumes:
|
2024-02-26 20:50:48 +00:00
|
|
|
- ${APP_DATA_DIR}/data/ord:/var/lib/ord
|
2024-04-06 04:06:04 +00:00
|
|
|
- ${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}"
|
|
|
|
ORD_INDEX_RUNES: "true"
|
|
|
|
# TODO: consider index-sats
|