From 9f5457eae7a38edbb4f7b0305da3eed1c4d284a2 Mon Sep 17 00:00:00 2001 From: horologger Date: Fri, 22 Nov 2024 17:56:14 -0500 Subject: [PATCH] submit spaces protocol shell --- spaces/.DS_Store | Bin 0 -> 6148 bytes spaces/data/.gitkeep | 0 spaces/docker-compose.yml | 39 ++++++++++++++++++++++++++++++++++++++ spaces/umbrel-app.yml | 35 ++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 spaces/.DS_Store create mode 100644 spaces/data/.gitkeep create mode 100644 spaces/docker-compose.yml create mode 100644 spaces/umbrel-app.yml diff --git a/spaces/.DS_Store b/spaces/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..68f6944ec0e6cb0e2259599a4cca8bf80c4f5f08 GIT binary patch literal 6148 zcmeH~J!-^2427kv3qu;0TTZhF$PEVLJ;7dJotRV$E|Tw}U0m)np4syJ!v{nom}nVqhBWq6G;|tAl|GP=QW?L*$d)|7ZA5^MBXElnPLR zf2M#A%VnAIQhB%Dy`I&tS+#Y8gMJ+0+fM)zyNZu+H|!T%fHm2IsKEFm;4&~!fnQbN E6Y%O1kpKVy literal 0 HcmV?d00001 diff --git a/spaces/data/.gitkeep b/spaces/data/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spaces/docker-compose.yml b/spaces/docker-compose.yml new file mode 100644 index 0000000000..f67079be40 --- /dev/null +++ b/spaces/docker-compose.yml @@ -0,0 +1,39 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: spaces_web_1 + APP_PORT: 8080 + PROXY_AUTH_ADD: "false" + + web: + image: horologger/spaces:v0.0.4 + init: true + restart: on-failure + stop_grace_period: 1m + volumes: + - ${APP_DATA_DIR}/data:/data + - ${APP_BITCOIN_DATA_DIR}:/data/.bitcoin:ro + environment: + # BTC + BTC_RPC_HOST: "${APP_BITCOIN_NODE_IP}" + BTC_RPC_PORT: "${APP_BITCOIN_RPC_PORT}" + BTC_RPC_USER: "${APP_BITCOIN_RPC_USER}" + BTC_RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}" + + # App + APP_HIDDEN_SERVICE: http://$APP_HIDDEN_SERVICE + APP_USER: "admin" + APP_PASSWORD: "$APP_PASSWORD" + APP_DOMAIN: $APP_DOMAIN + GOTTY_PORT: 8080 + PORT: 8080 + # These are set in the Spaces Docker Container + # SPACED_DATA_DIR: '/data' + # SPACED_CHAIN: 'mainnet' + # SPACED_BITCOIN_RPC_URL: 'http://'$BTC_RPC_HOST':'$BTC_RPC_PORT + # SPACED_RPC_BIND: '127.0.0.1' + # SPACED_RPC_PORT: '7225' + # SPACED_RPC_URL: 'http://'$SPACED_RPC_BIND':'$SPACED_RPC_PORT + # SPACED_BLOCK_INDEX: 'true' diff --git a/spaces/umbrel-app.yml b/spaces/umbrel-app.yml new file mode 100644 index 0000000000..04c9996e70 --- /dev/null +++ b/spaces/umbrel-app.yml @@ -0,0 +1,35 @@ +manifestVersion: 1 +id: spaces +name: Spaces +tagline: Minimal Terminal with Spaces Protocol tools +icon: https://raw.githubusercontent.com/horologger/spaces/main/spaces-logo.png +category: bitcoin +version: "0.0.4" +port: 7688 +description: >- + A GoTTY terminal with Spaces Protocol tools pre-installed. + Tools you load can be persisted in /data/bin + and will be available in the terminal. + Login with user: admin + Find the password by right-clicking on the Spaces icon + and click "Show default credentials" or by logging into your Umbrel. + Go to the Settings page. + Click the Troubleshoot button. + Select the app "Spaces". + Look for the value of APP_PASSWORD. + This is your admin user's password. + +developer: horologger +website: https://docs.spacesprotocol.org/getting-started/quickstart +dependencies: + - bitcoin +repo: https://github.com/horologger/spaces +support: https://docs.spacesprotocol.org/getting-started/quickstart +gallery: + - https://raw.githubusercontent.com/horologger/umbrelappstore/master/images/spaces/1.png +path: "" +deterministicPassword: true +defaultUsername: admin +torOnly: false +submitter: horologger +submission: https://github.com/getumbrel/umbrel/pull/1312 \ No newline at end of file