Skip to content
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

add sensei #1339

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions apps/sensei/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: "3.7"

services:
web:
image: getumbrel/sensei:v0.0.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to build your own Docker image and push it to a repository (usually Docker Hub). I can add an auto build GitHub Action in the sensei repo if you want. Or you can use GitHub images repo.

restart: on-failure
stop_grace_period: 1m
ports:
# Replace <port> with the port that your app's web server
# is listening inside the Docker container. If you need to
# expose more ports, add them below.
- 5401:5401
volumes:
- ${APP_DATA_DIR}/data:/data
environment:
NETWORK: $BITCOIN_NETWORK
BITCOIND_RPC_HOST: $BITCOIN_RPC_IP
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
BITCOIND_RPC_HOST: $BITCOIN_RPC_IP
BITCOIND_RPC_HOST: $BITCOIN_IP

BITCOIND_RPC_PORT: $BITCOIN_RPC_PORT
BITCOIND_RPC_USERNAME: $BITCOIN_RPC_USER
BITCOIND_RPC_PASSWORD: $BITCOIN_RPC_PASS
DATA_DIR: /data/.sensei
# App specific environment variables
# $APP_HIDDEN_SERVICE - The address of the Tor hidden service your app will be exposed at
# $APP_DOMAIN - Local domain name of the app ("umbrel.local" on Umbrel OS)
# $APP_PASSWORD - Unique plain text password that can be used for authentication in your app, shown to the user in the Umbrel UI
# $APP_SEED - Unique 256 bit long hex string (128 bits of entropy) deterministically derived from user's Umbrel seed and your app's ID