Skip to content

Commit 374b5af

Browse files
committed
Add AlbyHub connection to local LND wallet to simplify setup
1 parent 92e17be commit 374b5af

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

rootfs/standard/usr/share/mynode_apps/albyhub/albyhub.service

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@ ExecStartPre=/bin/bash -c 'if [ -f /usr/bin/service_scripts/pre_albyhub.sh ]; th
1414
ExecStart=docker run --rm \
1515
--name albyhub \
1616
--publish 3040:8080 \
17+
--add-host=host.docker.internal:host-gateway \
1718
--volume /mnt/hdd/mynode/albyhub:/data \
18-
--env WORK_DIR='/data' \
19+
--volume /mnt/hdd/mynode/lnd/tls.cert:/lnd/tls.cert \
20+
--volume /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/admin.macaroon:/lnd/admin.macaroon \
21+
--env WORK_DIR="/data" \
22+
--env LN_BACKEND_TYPE="LND" \
23+
--env LND_ADDRESS="host.docker.internal:10009" \
24+
--env LND_CERT_FILE="/lnd/tls.cert" \
25+
--env LND_MACAROON_FILE="/lnd/admin.macaroon" \
26+
--env ENABLE_ADVANCED_SETUP=false \
1927
albyhub
2028
ExecStartPost=/bin/bash -c 'if [ -f /usr/bin/service_scripts/post_albyhub.sh ]; then /bin/bash /usr/bin/service_scripts/post_albyhub.sh; fi'
2129
ExecStop=docker stop -t 2 albyhub

0 commit comments

Comments
 (0)