forked from michael.heier/umbrel-apps
30 lines
937 B
YAML
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.2@sha256:ed6dc77c36032b036b7182b02305b76312fa6c89c7cafc6047cb59d32ab1e507
|
|
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
|