Skip to content

Commit

Permalink
Fixes to follow the latest 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Nov 19, 2024
1 parent da3a56f commit 4eb1963
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ EXPOSE $LNDG_PORT

VOLUME [ "/lnd", "/lndg/data" ]

USER lndg
USER 1000

ENTRYPOINT [ "scripts/entrypoint.sh" ]
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
IMAGE := "gitea.k8s.chevdor.cc/chevdor/lndg"

build_image:
docker build -t chevdor/lndg -f container/Dockerfile .
#!/usr/bin/env bash
docker build -t {{IMAGE}} --build-arg SUPERVISOR=0 -f container/Dockerfile .
docker images | grep lndg

push_image:
docker push chevdor/lndg
docker push {{IMAGE}}
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ if [ "$LNDG_SUPERVISOR" -eq "1" ]; then
echo "Initializing with supervisor running as lndg user"
python initialize.py \
-net $LNDG_NETWORK \
-server $LNDG_SERVER \
-rpc $LNDG_SERVER \
--docker \
--supervisord \
--sduser lndg
else
echo "Initializing without supervisor"
python initialize.py \
-net $LNDG_NETWORK \
-server $LNDG_SERVER \
-rpc $LNDG_SERVER \
--docker
fi

0 comments on commit 4eb1963

Please sign in to comment.