expose eclair api to use from outside of docker
This commit is contained in:
parent
f87a05df03
commit
030025688e
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ eclair {
|
||||||
chain = "regtest"
|
chain = "regtest"
|
||||||
|
|
||||||
api {
|
api {
|
||||||
|
binding-ip = "0.0.0.0"
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 8080
|
port = 8080
|
||||||
password = "lnbits"
|
password = "lnbits"
|
||||||
|
|
|
||||||
|
|
@ -123,6 +123,8 @@ services:
|
||||||
image: boltz/eclair:0.8.0
|
image: boltz/eclair:0.8.0
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
entrypoint: "sh -c 'sleep 20; /eclair-node/bin/eclair-node.sh -Declair.datadir=/root/eclair -Declair.printToConsole'"
|
entrypoint: "sh -c 'sleep 20; /eclair-node/bin/eclair-node.sh -Declair.datadir=/root/eclair -Declair.printToConsole'"
|
||||||
|
ports:
|
||||||
|
- 8082:8080
|
||||||
expose:
|
expose:
|
||||||
- 9735
|
- 9735
|
||||||
- 8080
|
- 8080
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue