mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-11 16:09:18 +00:00
30 lines
950 B
YAML
30 lines
950 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: ordinals_ord_1
|
|
APP_PORT: 80
|
|
PROXY_AUTH_ADD: "false"
|
|
|
|
ord:
|
|
image: nmfretz/ord:0.20.0@sha256:33c61d57680178463288483975b2ccc9530f98528362d80158a866e41fe9f365
|
|
# 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}"
|
|
ORD_INDEX_RUNES: "true"
|
|
# TODO: consider index-sats
|