forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docker builder & add docker compose example #11
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a8f58a6
fix dockerfile
Kukks 496b769
Update Dockerfile
Kukks 8619208
fix downloader
d4c84b8
missing line
66db15b
debug
1b6c215
Revert "debug"
83b8577
switch to debian due to alpine incompat
ea67e75
Update Dockerfile
Kukks 2e37a06
Update docker-entrypoint.sh
Kukks 91cec6f
fix network naming in entrypoint
Kukks fd6d53a
switch to debian slim
Kukks 502914c
add contrib tooling to run node
Kukks bcd2cb6
add readme
Kukks 6a6a753
update entrypoint
Kukks 23b51e0
add spark and make compat with windows
Kukks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NETWORK=testnet | ||
LIGHTNING_ALIAS= | ||
HOST=127.0.0.1 | ||
SPARK_LOGIN=admin:admin | ||
SPARK_WALLET_PORT=9876 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Docker Compose Quickstart | ||
|
||
This is an example of how to run a GRS node, GRS c-lightning node and Spark wallet | ||
|
||
### Configuration & Running | ||
|
||
Ensure you have docker & docker-compose installed, edit the `.env` options to your liking and run `docker-compose up`. By default it will run testnet and spark wallet wil lbe available at `localhost:9876` (after GRS syncs) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
version: "3" | ||
services: | ||
groestlcoind: | ||
restart: unless-stopped | ||
container_name: groestlcoind | ||
image: nicolasdorier/docker-groestlcoin:2.16.3 | ||
environment: | ||
GROESTLCOIN_EXTRA_ARGS: | | ||
rpcport=43782 | ||
${NETWORK:-regtest}=1 | ||
port=39388 | ||
whitelist=0.0.0.0/0 | ||
expose: | ||
- "43782" | ||
- "39388" | ||
volumes: | ||
- "./groestlcoin_datadir:/data" | ||
clightning_groestlcoin: | ||
image: kukks/grs-clightning:latest | ||
stop_signal: SIGKILL | ||
container_name: clightning_groestlcoin | ||
restart: unless-stopped | ||
environment: | ||
LIGHTNINGD_NETWORK: ${NETWORK:-regtest} | ||
LIGHTNINGD_OPT: | | ||
bitcoin-datadir=/etc/groestlcoin | ||
bitcoin-rpcconnect=groestlcoind | ||
bitcoin-rpcport=43782 | ||
log-level=debug | ||
announce-addr=${HOST}:9737 | ||
bind-addr=0.0.0.0:9735 | ||
network=${NETWORK:-regtest} | ||
alias=${LIGHTNING_ALIAS} | ||
volumes: | ||
- "clightning_groestlcoin_datadir:/root/.lightning" | ||
- "./groestlcoin_datadir:/etc/groestlcoin" | ||
ports: | ||
- "9735:9735" | ||
links: | ||
- groestlcoind | ||
clightning_groestlcoin_spark: | ||
image: shesek/spark-wallet | ||
container_name: clightning_groestlcoin_spark | ||
restart: unless-stopped | ||
environment: | ||
LOGIN: ${SPARK_LOGIN} | ||
PORT: ${SPARK_WALLET_PORT} | ||
links: | ||
- clightning_groestlcoin | ||
ports: | ||
- "9876:${SPARK_WALLET_PORT}" | ||
volumes: | ||
- "clightning_groestlcoin_datadir:/etc/lightning" | ||
|
||
volumes: | ||
clightning_groestlcoin_datadir: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker exec -ti groestlcoind groestlcoin-cli -datadir="/data" $args |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker exec -ti groestlcoind groestlcoin-cli -datadir="/data" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker exec -ti clightning_groestlcoin lightning-cli $args |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker exec -ti clightning_groestlcoin lightning-cli "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: will be available