feat: make LNBITS_SRC configurable in dev compose
Some checks are pending
ci / regtest (push) Waiting to run
Some checks are pending
ci / regtest (push) Waiting to run
Default to ~/dev/lnbits/demo, override with env var: LNBITS_SRC=~/dev/lnbits/dev docker compose -f docker-compose.dev.yml up -d --build Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6619833503
commit
13437d5479
1 changed files with 5 additions and 2 deletions
|
|
@ -1,17 +1,20 @@
|
|||
# Lightweight LNbits dev environment — FakeWallet, no Lightning nodes
|
||||
#
|
||||
# Usage:
|
||||
# docker compose -f docker-compose.dev.yml up -d
|
||||
# LNBITS_SRC=~/dev/lnbits/demo docker compose -f docker-compose.dev.yml up -d --build
|
||||
# docker compose -f docker-compose.dev.yml logs -f lnbits
|
||||
# docker compose -f docker-compose.dev.yml down
|
||||
#
|
||||
# LNBITS_SRC defaults to ~/dev/lnbits/demo. Override to use a different branch:
|
||||
# LNBITS_SRC=~/dev/lnbits/dev docker compose -f docker-compose.dev.yml up -d --build
|
||||
#
|
||||
# LNbits: http://localhost:5001
|
||||
# Fava: http://localhost:3333
|
||||
|
||||
services:
|
||||
lnbits:
|
||||
hostname: lnbits
|
||||
build: /home/padreug/dev/lnbits/demo
|
||||
build: ${LNBITS_SRC:-/home/padreug/dev/lnbits/demo}
|
||||
restart: on-failure
|
||||
user: "0:0"
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue