umbrel-apps/oak-node/docker-compose.yml
Steven Briscoe 11f36560e8
Remove hard-coded container IPs (#310)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-12-04 20:18:22 +00:00

27 lines
839 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: oak-node_web_1
APP_PORT: 8100
web:
image: oak-node.net/oak:v0.3.4@sha256:b4f218a453a10174492a1b03c66329dff89bdece26c0b024e1bffe9340141048
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
volumes:
- $APP_LIGHTNING_NODE_DATA_DIR:/lnd-dir:ro
- ${APP_DATA_DIR}/data:/data
- ${APP_DATA_DIR}/log:/oak/log
environment:
ROCKET_PORT: 8100
ROCKET_ADDRESS: 0.0.0.0
OAK_DATA_DIR: /data
OAK_LND_REST_API_URL: https://$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_REST_PORT
OAK_LND_MACAROON_PATH: /lnd-dir/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon
OAK_LND_CERT_PATH: /lnd-dir/tls.cert
OAK_ONION_SOCKS5_HOST: $TOR_PROXY_IP
OAK_ONION_SOCKS5_PORT: $TOR_PROXY_PORT