-
Notifications
You must be signed in to change notification settings - Fork 46
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
Initial sensei configuration #151
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ services: | |
environment: | ||
API_URL: http://localhost:3000 | ||
ports: | ||
- 5000:5000 | ||
- 4400:5000 | ||
restart: unless-stopped | ||
|
||
esplora-liquid: | ||
|
@@ -119,7 +119,7 @@ services: | |
environment: | ||
API_URL: http://localhost:3001 | ||
ports: | ||
- 5001:5000 | ||
- 4401:5000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still, this is used in many tutorials already. Best to give a different one to new services introduced if possible |
||
restart: unless-stopped | ||
|
||
# Chopsticks | ||
|
@@ -181,6 +181,27 @@ services: | |
- "9735:9735" # p2p | ||
- "10009:10009" # grpc | ||
|
||
sensei: | ||
container_name: sensei | ||
image: sensei | ||
depends_on: | ||
- bitcoin | ||
volumes: | ||
- ./volumes/sensei:/data/.sensei | ||
environment: | ||
DATA_DIR: /data | ||
NETWORK: regtest | ||
BITCOIND_RPC_HOST: bitcoin | ||
BITCOIND_RPC_PORT: 18443 | ||
BITCOIND_RPC_USERNAME: admin1 | ||
BITCOIND_RPC_PASSWORD: 123 | ||
ports: | ||
- "5401:5401" | ||
- "3100:3000" | ||
- "3001:3001" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will conflict to Liquid port |
||
- "9635:9735" # p2p | ||
|
||
|
||
lightningd: | ||
container_name: cln | ||
image: elementsproject/lightningd:latest | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,8 @@ func startAction(ctx *cli.Context) error { | |
servicesToRun = append(servicesToRun, "lnd") | ||
// Core Lightning Network | ||
servicesToRun = append(servicesToRun, "lightningd") | ||
|
||
servicesToRun = append(servicesToRun, "sensei") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is Sensei capable to work without the frontend ie. only API/RPC? If Yes, may be worth running it also in CI mode (ie. under the isCI branch) so the Nigiri Github Action can offer CI testing using sensei |
||
} | ||
|
||
if isCI { | ||
|
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.
Revert to default ports (you can edit this on your data directory and/or soon via ENV variable #145 )