mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Hack docker frontend entrypoint to auto-enable lightning
This commit is contained in:
parent
d337bf3ee2
commit
cb8fdb5e8d
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ cp /etc/nginx/nginx.conf /patch/nginx.conf
|
|||
sed -i "s/__MEMPOOL_FRONTEND_HTTP_PORT__/${__MEMPOOL_FRONTEND_HTTP_PORT__}/g" /patch/nginx.conf
|
||||
cat /patch/nginx.conf > /etc/nginx/nginx.conf
|
||||
|
||||
[ "${APP_LIGHTNING_NODE_PORT}" = "9735" ] && LIGHTNING=true
|
||||
|
||||
# Runtime overrides - read env vars defined in docker compose
|
||||
|
||||
__TESTNET_ENABLED__=${TESTNET_ENABLED:=false}
|
||||
|
|
Loading…
Add table
Reference in a new issue