Skip to content

Commit

Permalink
Merge pull request #41 from cryptosharks131/add-lndg
Browse files Browse the repository at this point in the history
Add lndg
  • Loading branch information
rsafier authored Oct 1, 2021
2 parents 7b19f49 + ea9f3dc commit ccd6e2b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions docker-compose.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,20 @@ services:
command:
- python
- dashboard.py
lndg:
image: ghcr.io/cryptosharks131/lndg:latest
container_name: playground-lndg
depends_on:
- lnd
volumes:
- ${oc.env:PWD}/volumes/lnd_datadir:/root/.lnd:ro
- ${oc.env:PWD}/volumes/lndg_datadir/db.sqlite3:/lndg/db.sqlite3:rw
command:
- sh
- -c
- python initialize.py -net 'signet' -server 'playground-lnd:10009' -d && python manage.py migrate && sleep 20 && supervisord && python manage.py runserver 0.0.0.0:8000
ports:
- 8889:8000
docs:
links:
- tor
Expand Down
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ mkdir volumes/rtl_datadir
mkdir volumes/tor_datadir
mkdir volumes/tor_servicesdir
mkdir volumes/tor_torrcdir
mkdir volumes/lndg_datadir
touch volumes/lndg_datadir/db.sqlite3

docker-compose build --build-arg TRIPLET=$TRIPLET
docker-compose up --remove-orphans -d
docker-compose up --remove-orphans -d

0 comments on commit ccd6e2b

Please sign in to comment.