Go to file
2024-03-15 16:54:55 +11:00
agora Update categories 2023-06-21 14:58:25 +07:00
alby-nostr-wallet-connect Update Alby Nostr Wallet Connect to 0.4.2 (#942) 2024-01-24 10:11:30 -08:00
audiobookshelf Update Audiobookshelf to v2.8.0 (#994) 2024-03-05 20:51:11 -08:00
autobrr Update Autobrr to v1.39.1 (#995) 2024-03-05 20:54:43 -08:00
back-that-mac-up update widgets 2024-03-14 01:00:02 -07:00
bazarr Update Bazarr to v1.4.2 (#996) 2024-03-05 20:57:54 -08:00
bitcoin update widgets 2024-03-14 01:00:02 -07:00
bitfeed Update categories 2023-06-21 14:58:25 +07:00
bleskomat-server Update categories 2023-06-21 14:58:25 +07:00
bluewallet Update categories 2023-06-21 14:58:25 +07:00
btc-rpc-explorer Update BTC RPC Explorer to v3.4.0 (#688) 2023-07-14 12:59:56 -07:00
btcpay-server Update BTCPay to 1.12.5 (#978) 2024-02-23 11:21:33 -08:00
calibre-web Update calibre-web to v0.6.21 (#833) 2023-11-10 21:50:07 -08:00
chatbot-ui Update chatbot-ui to 2023.04.20 (#646) 2023-06-23 18:18:42 +07:00
chatpad-ai Update Chatpad-AI to latest commit f45cd5 (#997) 2024-03-05 21:05:18 -08:00
circuitbreaker Update Circuitbreaker to v0.5.1 (#908) 2023-12-20 13:01:17 -08:00
cloudflared App Submission: Cloudflare Tunnel (#891) 2024-01-09 12:14:37 -08:00
code-server Update Code Server to v4.22.0 (#998) 2024-03-05 21:15:54 -08:00
core-lightning Update Core Lightning v23.08-hotfix-1 - rpcport fix for test nets (#814) 2023-10-23 21:48:04 -07:00
core-lightning-rtl Update RTL (Core Lightning) to v0.14.1-beta (#835) 2023-11-10 22:47:48 -08:00
databag Remove period from databag’s tagline 2024-02-23 14:59:20 +07:00
electrs Update Electrs to v0.10.2 (#933) 2024-01-10 17:27:24 -08:00
element Update categories 2023-06-21 14:58:25 +07:00
elements Update Elements to v23.2.1 (#905) 2023-12-15 11:15:05 -08:00
esphome Update ESPHome to v2024.2.2 (#999) 2024-03-05 21:17:27 -08:00
file-browser Update File Browser to v2.27.0 (#1000) 2024-03-05 21:19:53 -08:00
firefly-iii Update Firefly-III to v6.1.10 (#1001) 2024-03-05 21:28:18 -08:00
firefly-iii-importer Update Firefly-III Importer to v1.4.4 (#1002) 2024-03-05 21:28:43 -08:00
firefox Update Firefox to v122.0 (#1003) 2024-03-05 21:36:09 -08:00
freshrss Update FreshRSS to v1.23.1 2024-02-15 16:43:41 -08:00
frigate App Submission: Frigate (#843) 2024-02-23 14:24:03 -08:00
ghostfolio Update ghostfolio to 2.61.0 (#1011) 2024-03-15 16:54:12 +11:00
gitea Update Gitea to v1.21.7 (#1004) 2024-03-05 21:40:21 -08:00
heimdall Update heimdall to 2.6.1 (#1010) 2024-03-15 16:53:51 +11:00
helipad Update Helipad to v0.1.11 (#961) 2024-02-06 16:49:30 -08:00
home-assistant Update home-assistant to 2024.3.0 (#1013) 2024-03-15 16:54:55 +11:00
homebox Update homebox to 0.10.3 (#981) 2024-02-23 11:35:54 -08:00
homebridge Update homebridge to 2023-01-08 (#877) 2023-12-05 21:30:04 -08:00
immich Update Immich to v1.94.1 (#970) 2024-02-15 13:07:31 -08:00
invidious Update Invidious to 2024.1.10-1c0b420 (#941) 2024-01-17 14:15:36 -08:00
invoice-ninja Update Invoice Ninja to v5.8.33 (#1005) 2024-03-05 21:51:25 -08:00
ipfs-podcasting Update categories 2023-06-21 14:58:25 +07:00
itchysats Update categories 2023-06-21 14:58:25 +07:00
jackett Update jackett to 0.21.1289 (#879) 2023-12-05 22:00:12 -08:00
jam Update Jam to v0.2.0 (#985) 2024-03-05 20:43:02 -08:00
jellyfin Update Jellyfin to 10.8.13 (#913) 2023-12-20 12:42:51 -08:00
jellyseerr fix jellyseerr app store links 2024-03-05 19:48:14 -08:00
kollider Update categories 2023-06-21 14:58:25 +07:00
krystal-bull Update categories 2023-06-21 14:58:25 +07:00
libreddit Update categories 2023-06-21 14:58:25 +07:00
libreoffice Update categories 2023-06-21 14:58:25 +07:00
librespeed Update librespeed to 5.3.0 (#880) 2023-12-05 22:04:54 -08:00
lidarr Update Lidarr to 2.1.7 (#1007) 2024-03-05 21:49:08 -08:00
lightning update widgets 2024-03-14 01:00:02 -07:00
lightning-shell Update categories 2023-06-21 14:58:25 +07:00
lightning-terminal Update lightning-terminal to v0.12.3-alpha (#966) 2024-02-15 10:48:55 -08:00
llama-gpt Update LlamaGPT submission link 2023-08-16 21:21:53 +07:00
ln-visualizer Update ln-visualizer to 0.0.28 (#882) 2023-12-06 21:54:28 -08:00
lnbits update to v0.12.2 (#1008) 2024-03-15 16:53:32 +11:00
lndboss Update categories 2023-06-21 14:58:25 +07:00
lndg Update LNDg to v1.8.0 (#923) 2024-01-09 16:16:18 -08:00
lnmarkets Update LN Markets to v2.0.1 (#964) 2024-02-19 09:47:58 -08:00
lnplus Update categories 2023-06-21 14:58:25 +07:00
mealie Update categories 2023-06-21 14:58:25 +07:00
mempool Update mempool description+tagline (v2.5, mid-2023) (#671) 2023-07-10 21:08:24 -07:00
metube Update MeTube to v2024-01-26 (#1009) 2024-03-05 22:08:32 -08:00
n8n Update n8n to 1.18.1 (#874) 2023-12-05 16:26:05 -08:00
nextcloud update nextcloud to 28.0.3 (#1012) 2024-03-15 16:54:33 +11:00
nitter Update categories 2023-06-21 14:58:25 +07:00
node-red Update node-red to 3.1.1 (#922) 2024-01-09 15:59:35 -08:00
node-red-standalone Update Node-RED to v3.1.3 (#958) 2024-02-02 15:36:18 -08:00
nolooking Update categories 2023-06-21 14:58:25 +07:00
nostr-relay update widgets 2024-03-14 01:00:02 -07:00
nostrudel App Submission: noStrudel (#901) 2024-02-22 23:09:01 -08:00
nutstash-wallet Update categories 2023-06-21 14:58:25 +07:00
oak-node Bump Oak Node to v0.3.8 (#780) 2023-10-03 12:07:01 -07:00
octoprint Update Octoprint to 1.9.3 (#926) 2024-01-09 21:57:13 -08:00
ordinals Update Ordinals to v0.15.0 (#987) 2024-02-26 12:50:48 -08:00
overseerr Update categories 2023-06-21 14:58:25 +07:00
passky-client Update categories 2023-06-21 14:58:25 +07:00
passky-server Update Passky Server to v8.1.6 (#951) 2024-01-30 21:19:03 -08:00
penpot Update categories 2023-06-21 14:58:25 +07:00
photoprism Update photoprism to 231128 (#885) 2023-12-06 22:28:59 -08:00
pi-hole Update Pi-hole to v2024.02.0 (#977) 2024-02-23 10:13:21 -08:00
plex Update Plex to 1.40.0 (#971) 2024-02-15 13:14:39 -08:00
portainer Update Portainer to v2.19.1 (#809) 2023-10-20 14:58:11 -07:00
prowlarr Update Prowlarr to 1.12.2 (#888) 2024-01-24 13:06:39 -08:00
public-pool Update public pool (#983) 2024-02-27 17:00:46 +11:00
qbittorrent Update qbittorrent to v4.6.0 (#827) 2023-11-10 16:10:32 -08:00
radarr Update Radarr to 5.0.3 (#804) 2023-10-16 21:35:20 -07:00
readarr App Submission: Readarr (#712) 2024-02-22 22:46:50 -08:00
remmina Update categories 2023-06-21 14:58:25 +07:00
ride-the-lightning Update RTL (LND) to v0.14.1-beta (#836) 2023-11-10 22:25:13 -08:00
robosats Update Robosats to 0.5.4 (#949) 2024-01-26 11:32:37 -08:00
rotki Update Rotki to 1.31.0 (#868) 2023-12-05 15:19:58 -08:00
sabnzbd Update SABnzbd to 4.1.0-hotfix1 (#904) 2023-12-11 22:41:38 -08:00
samourai-server Update categories 2023-06-21 14:58:25 +07:00
satsale Update categories 2023-06-21 14:58:25 +07:00
seafile App Submission: Seafile (#676) 2024-02-23 10:02:50 -08:00
simple-torrent Update categories 2023-06-21 14:58:25 +07:00
snapdrop Update categories 2023-06-21 14:58:25 +07:00
snort Update Snort to v0.1.24 (#906) 2023-12-18 21:25:21 -08:00
snowflake Update snowflake to v2.7.0 (#849) 2023-11-15 22:20:40 -08:00
sonarr Update sonarr to 3.0.10 (#887) 2023-12-07 09:39:27 -08:00
sparkkiosk Update categories 2023-06-21 14:58:25 +07:00
specter-desktop Update Specter Desktop to 2.0.2 (#894) 2024-01-09 14:06:43 -08:00
sphinx-relay Update categories 2023-06-21 14:58:25 +07:00
squeaknode Update categories 2023-06-21 14:58:25 +07:00
squeakroad Update categories 2023-06-21 14:58:25 +07:00
suredbits-wallet Update categories 2023-06-21 14:58:25 +07:00
synapse Update categories 2023-06-21 14:58:25 +07:00
syncthing Update Syncthing to v1.27.0 (#902) 2023-12-10 22:19:30 -08:00
tailscale Update Tailscale to v1.56.1 (#928) 2024-01-08 06:05:06 -08:00
tallycoin-connect Update Home Assistant and Tallycoin Connect 2023-07-04 09:08:47 -07:00
tautulli Update tautulli to v2.13.2 (#851) 2023-11-15 23:06:10 -08:00
tdex Update categories 2023-06-21 14:58:25 +07:00
thunderhub Update Thunderhub to v0.13.30 (#930) 2024-01-09 22:05:30 -08:00
torq Update Torq to v1.5.1 (#956) 2024-02-05 12:31:17 -08:00
transmission update widgets 2024-03-14 01:00:02 -07:00
trilium-notes Update Trilium Notes to v0.60.4 (#655) 2023-06-29 13:01:34 -07:00
uptime-kuma Update uptime-kuma to 1.23.7 (#878) 2023-12-05 21:43:05 -08:00
urbit Update Urbit to v2.12 (#776) 2023-10-03 12:01:29 -07:00
urbit-bitcoin-connector Update categories 2023-06-21 14:58:25 +07:00
usocial Update categories 2023-06-21 14:58:25 +07:00
vaultwarden Update vaultwarden to v1.30.3 (#959) 2024-02-05 12:32:46 -08:00
vikunja App Submission: Vikunja (#694) 2024-01-22 11:46:11 -08:00
watch-your-lan Modify WatchYourLAN tagline 2024-02-23 09:47:11 -08:00
whoogle-search Update whoogle-search to 0.8.4 (#841) 2023-11-14 14:27:33 -08:00
wikijs Update wikijs to 2.5.300 (#892) 2023-12-07 10:01:04 -08:00
woofbot Update WoofBot to v0.9.8 (#773) 2023-09-17 21:47:49 -07:00
woofbot-lnd Update WoofBot to v0.9.8 (#773) 2023-09-17 21:47:49 -07:00
README.md Update README.md (#896) 2023-12-08 13:44:55 -08:00

Umbrel App Framework

If you can code in any language, you already know how to develop an app for Umbrel. There is no restriction on the kind of programming languages, frameworks or databases that you can use. Apps run inside isolated Docker containers, and the only requirement (for now) is that they should have a web-based UI.

Some server apps might not have a UI at all. In that case, the app should serve a simple web page listing the connection details, QR codes, setup instructions, and anything else needed for the user to connect. The user is never expected to have CLI access on Umbrel.

To keep this document short and easy, we won't go into the app development itself, and will instead focus on packaging an existing app.

Let's straightaway jump into action by packaging BTC RPC Explorer, a Node.js based blockchain explorer, for Umbrel.

There are 4 steps:

  1. 🛳 Containerizing the app using Docker
  2. ☂️ Packaging the app for Umbrel
  3. 🛠 Testing the app on Umbrel
    1. Testing on Umbrel development environment (Linux or macOS)
    2. Testing on Umbrel OS (Raspberry Pi 4)
  4. 🚀 Submitting the app

1. 🛳  Containerizing the app using Docker

1. Let's start by cloning BTC RPC Explorer on our system:

git clone --branch v2.0.2 https://github.com/janoside/btc-rpc-explorer.git
cd  btc-rpc-explorer

2. Next, we'll create a Dockerfile in the app's directory:

FROM node:12-buster-slim AS builder

WORKDIR /build
COPY . .
RUN apt-get update
RUN apt-get install -y git python3 build-essential
RUN npm ci --production

FROM node:12-buster-slim

USER 1000
WORKDIR /build
COPY --from=builder /build .
EXPOSE 3002
CMD ["npm", "start"]

A good Dockerfile:

  • Uses debian:buster-slim (or its derivatives, like node:12-buster-slim) as the base image — resulting in less storage consumption and faster app installs as the base image is already cached on the user's Umbrel.
  • Uses multi-stage builds for smaller image size.
  • Ensures development files are not included in the final image.
  • Has only one service per container.
  • Doesn't run the service as root.
  • Uses remote assets that are verified against a checksum.
  • Results in deterministic image builds.

3. We're now ready to build the Docker image of BTC RPC Explorer. Umbrel supports both 64-bit ARM and x86 architectures, so we'll use docker buildx to build, tag, and push multi-architecture Docker images of our app to Docker Hub.

docker buildx build --platform linux/arm64,linux/amd64 --tag getumbrel/btc-rpc-explorer:v2.0.2 --output "type=registry" .

You need to enable "experimental features" in Docker to use docker buildx.


2. ☂️  Packaging the app for Umbrel

1. Let's fork the getumbrel/umbrel-apps repo on GitHub, clone our fork locally, create a new branch for our app, and then switch to it:

git clone https://github.com/<username>/umbrel-apps.git
cd umbrel-apps

2. It's now time to decide an ID for our app. An app ID should only contain lowercase alphabetical characters and dashes, and should be humanly recognizable. For this app we'll go with btc-rpc-explorer.

We need to create a new subdirectory in the apps directory with same name as our app ID and move into it:

mkdir btc-rpc-explorer
cd btc-rpc-explorer

3. Within the app's directory, we'll now create the skeleton for our app will consist of:

  • docker-compose.yml - Used to start and stop your app's Docker containers
  • umbrel-app.yml - A app manifest file so that Umbrel knows the name and version of the app
  • exports.sh - A shell script to export environment variables used within docker-compose.yml and shared with other installed apps

We'll now create a docker-compose.yml file in this directory to define our application.

New to Docker Compose? It's a simple tool for defining and running Docker applications that can have multiple containers. Follow along the tutorial, we promise it's not hard if you already understand the basics of Docker.

Let's copy-paste the following template docker-compose.yml file in a text editor and edit it according to our app.

version: "3.7"

services:
  app_proxy:
    environment:
      # <app-id>_<web-container-name>_1
      # e.g. 'btc-rpc-explorer_web_1'
      # Note that the '_1' at the end is needed
      APP_HOST: <web-container-dns-name>
      APP_PORT: <web-container-port-number>
  
  web:
    image: <docker-image>:<tag>
    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.
      - <port>:<port>
    volumes:
      # Uncomment to mount your data directories inside
      # the Docker container for storing persistent data
      # - ${APP_DATA_DIR}/foo:/foo
      # - ${APP_DATA_DIR}/bar:/bar

      # Uncomment to mount LND's data directory as read-only
      # inside the Docker container at path /lnd
      # - ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro

      # Uncomment to mount Bitcoin Core's data directory as
      # read-only inside the Docker container at path /bitcoin
      # - ${APP_BITCOIN_DATA_DIR}:/bitcoin:ro
    environment:
      # Pass any environment variables to your app for configuration in the form:
      # VARIABLE_NAME: value
      #
      # Here are all the Umbrel provided variables that you can pass through to
      # your app
      # System level environment variables
      # $DEVICE_HOSTNAME - Umbrel server device hostname (e.g. "umbrel")
      # $DEVICE_DOMAIN_NAME - A .local domain name for the Umbrel server (e.g. "umbrel.local")
      #
      # Tor proxy environment variables
      # $TOR_PROXY_IP - Local IP of Tor proxy
      # $TOR_PROXY_PORT - Port of Tor proxy
      #
      # App specific environment variables
      # $APP_HIDDEN_SERVICE - The address of the Tor hidden service your app will be exposed at
      # $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
  # If your app has more services, like a database container, you can define those
  # services below:
  # db:
  #   image: <docker-image>:<tag>
  #   ...

Our app manifest YAML file tells Umbrel details about our app such as name, description, dependencies, port number to access the app, etc.

manifestVersion: 1
id: btc-rpc-explorer
category: finance
name: BTC RPC Explorer
version: "3.3.0"
tagline: Simple, database-free blockchain explorer
description: >-
  BTC RPC Explorer is a full-featured, self-hosted explorer for the
  Bitcoin blockchain. With this explorer, you can explore not just the
  blockchain database, but also explore the functional capabilities of your
  Umbrel.

  It comes with a network summary dashboard, detailed view of blocks, transactions, addresses, along with analysis tools for viewing stats on miner activity, mempool summary, with fee, size, and age breakdowns. You can also search by transaction ID, block hash/height, and addresses.

  It's time to appreciate the "fullness" of your node.  
releaseNotes: >-
  Dark mode is finally here! Easily switch between your preferred mode
  in one click.

  This version also includes lots of minor styling improvements, better
  error handling, and several bugfixes.  
developer: Dan Janosik
website: https://explorer.btc21.org
dependencies:
  - bitcoin
  - electrs
repo: https://github.com/janoside/btc-rpc-explorer
support: https://github.com/janoside/btc-rpc-explorer/discussions
port: 3002
gallery:
  - 1.jpg
  - 2.jpg
  - 3.jpg
path: ""
defaultUsername: ""
defaultPassword: ""
submitter: Umbrel
submission: https://github.com/getumbrel/umbrel/pull/334

The dependencies section within the app manifest gives Umbrel a list of app IDs that must be already installed in order for the user to install BTC RPC Explorer and also function.

The exports.sh shell script is a simple script to export environmental variables that your docker-compose.yml can read. These env. vars. are also accessible when other apps start through their docker-compose.yml files. Most applications will not require this feature.

If we (for example) wanted to share BTC RPC Explorer's Address API with other apps; that would look like this:

export APP_BTC_RPC_EXPLORER_ADDRESS_API="electrumx"

4. For our app, we'll update <docker-image> with getumbrel/btc-rpc-explorer, <tag> with v2.0.2, and <port> with 3002. Since BTC RPC Explorer doesn't need to store any persistent data and doesn't require access to Bitcoin Core's or LND's data directories, we can remove the entire volumes block.

BTC RPC Explorer is an application with a single Docker container, so we don't need to define any other additional services (like a database service, etc) in the compose file.

If BTC RPC Explorer needed to persist some data we would have created a new data directory next to the docker-compose.yml file. We'd then mount the volume - ${APP_DATA_DIR}/data:/data in docker-compose.yml to make the directory available at /data inside the container.

Updated docker-compose.yml file:

version: "3.7"

services:
  app_proxy:
    environment:
      APP_HOST: btc-rpc-explorer_web_1
      APP_PORT: 8080

  web:
    image: getumbrel/btc-rpc-explorer:v2.0.2
    restart: on-failure
    stop_grace_period: 1m
    environment:
      BTCEXP_PORT: 8080

5. Next, let's set the environment variables required by our app to connect to Bitcoin Core, Electrum server, and for app-related configuration (as required by the app).

So the final version of docker-compose.yml would be:

version: "3.7"

services:
  app_proxy:
    environment:
      APP_HOST: btc-rpc-explorer_web_1
      APP_PORT: 8080
      
  web:
    image: getumbrel/btc-rpc-explorer:v2.0.2
    restart: on-failure
    stop_grace_period: 1m
    environment:
      PORT: 8080

      # Bitcoin Core connection details
      BTCEXP_BITCOIND_HOST: $APP_BITCOIN_NODE_IP
      BTCEXP_BITCOIND_PORT: $APP_BITCOIN_RPC_PORT
      BTCEXP_BITCOIND_USER: $APP_BITCOIN_RPC_USER
      BTCEXP_BITCOIND_PASS: $APP_BITCOIN_RPC_PASS

      # Electrum connection details
      BTCEXP_ELECTRUMX_SERVERS: "tcp://$APP_ELECTRS_NODE_IP:$APP_ELECTRS_NODE_PORT"

      # App Config
      BTCEXP_HOST: 0.0.0.0
      DEBUG: "btcexp:*,electrumClient"
      BTCEXP_ADDRESS_API: electrumx
      BTCEXP_SLOW_DEVICE_MODE: "true"
      BTCEXP_NO_INMEMORY_RPC_CACHE: "true"
      BTCEXP_PRIVACY_MODE: "true"
      BTCEXP_NO_RATES: "true"
      BTCEXP_RPC_ALLOWALL: "false"
      BTCEXP_BASIC_AUTH_PASSWORD: ""  

6. We're pretty much done here. The next step is to commit the changes, push it to our fork's branch, and test out the app on Umbrel.

git add .
git commit -m "Add BTC RPC Explorer"
git push

3. 🛠  Testing the app on Umbrel

3.1 Test using a low-cost cloud virtual machine (VM)

Using a Ubuntu/Debian based VM from your favourite cloud vendor, we can SSH into the server (e.g. ssh root@123.123.123.123).

1. Install Umbrel with one command: curl -L https://umbrel.sh | bash.

Once Umbrel has started, the Web UI will be accessible at the IP address of the VM (e.g. http://123.123.123.123)

2. We need to use our forked remote app repo:

cd umbrel
sudo ./scripts/repo checkout https://github.com/<username>/umbrel-apps.git

3. And finally, it's time to install our app:

sudo ./scripts/app install btc-rpc-explorer

That's it! Our BTC RPC Explorer app should now be accessible at http://umbrel-dev.local:3002

4. To make changes:

Let's commit and push our changes to our forked Umbrel app repo then run:

sudo ./scripts/repo checkout https://github.com/<username>/umbrel-apps.git
sudo ./scripts/app update btc-rpc-explorer

3.2 Testing on Umbrel OS (Raspberry Pi 4)

1. We'll first install and run Umbrel OS on a Raspberry Pi 4. Full instructions can be found here. After installation, we'll set it up on http://umbrel.local, and then SSH into the Pi:

ssh umbrel@umbrel.local

(SSH password is the same as your Umbrel's dashboard password)

2. Next, we'll switch to the forked remote app repo:

sudo ./umbrel/scripts/repo checkout https://github.com/<username>/umbrel-apps.git

3. Once the repo has updated, it's time to test our app:

sudo ./umbrel/scripts/app install btc-rpc-explorer

The app should now be accessible at http://umbrel.local:3002

4. To uninstall:

sudo ./umbrel/scripts/app uninstall btc-rpc-explorer

When testing your app, make sure to verify that any application state that needs to be persisted is in-fact being persisted in volumes.

A good way to test this is to restart the app with ./umbrel/scripts/app stop <app-id> && ./umbrel/scripts/app start <app-id>. If any state is lost, it means that state should be mapped to a persistent volume.

When stopping/starting the app, all data in volumes will be persisted and anything else will be discarded. When uninstalling/installing an app, even persistent data will be discarded.


4. 🚀  Submitting the app

We're now ready to open a pull request on the main getumbrel/umbrel-apps apps repo to submit our app. Let's copy-paste the following markdown for the pull request description, fill it up with the required details, and then open a pull request.

# App Submission

### App name
...

### 256x256 SVG icon
_(Submit an icon with no rounded corners as it will be dynamically rounded with CSS. GitHub doesn't allow uploading SVGs directly, so please upload your icon to an alternate service, like https://svgur.com, and paste the link below.)_

...

### Gallery images
_(Upload 3 to 5 high-quality gallery images (1440x900px) of your app in PNG format, or just upload 3 to 5 screenshots of your app and we'll help you design the gallery images.)_

...


### I have tested my app on:
- [ ] [Umbrel OS on a Raspberry Pi 4](https://github.com/getumbrel/umbrel-os)
- [ ] [Custom Umbrel install on Linux](https://github.com/getumbrel/umbrel#-installation)

This is where the above information is used when the app goes live in the Umbrel App Store:

Umbrel App Store Labels

After you've submitted your app, we'll review your pull request, make some adjustments in the docker-compose.yml file, such as removing any port conflicts with other apps, pinning Docker images to their sha256 digests, assigning unique IP addresses to the containers, etc before merging.

🎉 Congratulations! That's all you need to do to package, test and submit your app to Umbrel. We can't wait to have you onboard!


Advanced configuration

App Proxy

The Umbrel App Proxy automatically protects an app by requiring the user to enter their Umbrel password (either when they login into the main Web UI or by visiting an app directly e.g. http://umbrel.local:3002)

Disable

There could be cases where you wish to disable this authentication. That can be done by adding this env. var. to the app_proxy Docker Compose service:

PROXY_AUTH_ADD: "false"
Whitelist/blacklist

Some apps host a user facing at the root of their web application and then an API at e.g. /api. And in this case we would like / to be protected by Umbrel and /api protected by the apps existing/inbuilt API token system. This can be achieved by adding this env. var. to the app_proxy Docker Compose service:

PROXY_AUTH_WHITELIST: "/api/*"

Another example could be that the root of the web application (/) should be publically accessible but the admin section be protected by Umbrel. This can be achieved by adding these env. vars. to the app_proxy Docker Compose service:

PROXY_AUTH_WHITELIST: "*"
PROXY_AUTH_BLACKLIST: "/admin/*"

FAQs

  1. How to push app updates?

    Every time you release a new version of your app, you should build, tag and push the new Docker images to Docker Hub. Then open a new PR on our main app repo (getumbrel/umbrel-apps) with your up-to-date docker image, and updated version and releaseNotes in your app's umbrel-app.yml file.

  2. I need help with something else?

    You can open an issue on GitHub or get in touch with @mayankchhabra or @lukechilds on Telegram.