umbrel-apps/oak-node/docker-compose.yml
2022-08-16 14:24:57 +08:00

30 lines
937 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: $APP_OAK_NODE_IP
APP_PORT: $APP_OAK_NODE_PORT
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: $APP_OAK_NODE_PORT
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
networks:
default:
ipv4_address: $APP_OAK_NODE_IP