2022-07-28 19:33:44 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
2022-12-04 20:18:22 +00:00
|
|
|
APP_HOST: oak-node_web_1
|
|
|
|
APP_PORT: 8100
|
2022-07-28 19:33:44 +00:00
|
|
|
|
|
|
|
web:
|
2022-08-16 06:24:57 +00:00
|
|
|
image: oak-node.net/oak:v0.3.4@sha256:b4f218a453a10174492a1b03c66329dff89bdece26c0b024e1bffe9340141048
|
2022-07-28 19:33:44 +00:00
|
|
|
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:
|
2022-12-04 20:18:22 +00:00
|
|
|
ROCKET_PORT: 8100
|
2022-07-28 19:33:44 +00:00
|
|
|
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
|
2022-07-31 11:44:18 +00:00
|
|
|
OAK_ONION_SOCKS5_HOST: $TOR_PROXY_IP
|
|
|
|
OAK_ONION_SOCKS5_PORT: $TOR_PROXY_PORT
|