Skip to content
OpenPostDocs
OpenPostDocs

Install on umbrelOS

Run OpenPost on umbrelOS through Portainer, check it locally, and set up public HTTPS before you connect social accounts.

Umbrel recommends Portainer for custom Docker containers, and OpenPost supplies a Compose file with the bundled PostgreSQL and local media storage. The image supports x86_64 and ARM64 devices. This installation is managed in Portainer and does not appear on the Umbrel home screen.

What you need

Install Portainer

  1. Install it from the App Store.

    In Umbrel's App Store, install Portainer.
  2. Sign in.

    Open Portainer and sign in with the credentials shown after installation. Change the password when prompted.

Deploy OpenPost

  1. Add a stack.

    In Portainer's Docker environment, open Stacks → Add stack and name it openpost.

  2. Paste the Compose file.

    Download deploy/portainer/docker-compose.yml and paste it into Web editor. Keep the openpost_data:/data named volume and restart: unless-stopped. Umbrel needs named volumes for persistent custom-container data, and bind-mounted data can be lost when Portainer restarts or updates.

  3. Pick a port.

    If another app uses 8080, change the mapping to a free port, such as "8090:8080". Keep the container port and OPENPOST_PORT at 8080.

  4. Add the environment variables.

    Under Environment variables, enter these, with your chosen host port in the URL:

    OPENPOST_APP_URL=http://umbrel.local:8080
    OPENPOST_JWT_SECRET=YOUR_GENERATED_JWT_SECRET
    OPENPOST_ENCRYPTION_KEY=YOUR_GENERATED_ENCRYPTION_KEY

    If umbrel.local does not resolve on your computer, use the device's local IP address in the URL and when opening the app.

  5. Pin the image.

    For a permanent installation, replace the latest tag with a release tag from GitHub Releases.

  6. Deploy the stack.

    Select Deploy the stack.

Check your installation

  1. Check readiness.

    Run curl -fsS http://umbrel.local:8080/api/v1/ready, using your host and port. Expect "status":"ready" and "database":"ok". If it fails, read the OpenPost container's logs in Portainer and confirm that the port is free.

  2. Create the first account.

    Open http://umbrel.local:8080 and register. It becomes the instance administrator.

Set up public access

Before you connect social accounts, set up a public HTTPS reverse proxy or tunnel that forwards the whole app, including /api/v1/ and /media/, to OpenPost's published port. Provider callbacks and media URLs must be reachable from outside your network.

  1. Switch the URL to your domain.

    In the existing Portainer stack, set:

    OPENPOST_APP_URL=https://post.example.com

    Replace post.example.com with your domain. Keep the same named volume and both secrets.

  2. Check readiness through HTTPS.

    Run curl -fsS https://post.example.com/api/v1/ready.

  3. Connect an account.

    Configure social integrations, connect an account and publish a test post. Public signup closes after the first account.

Upgrade and back up

Stop OpenPost before you back up its named volume, because the bundled PostgreSQL is only consistent when it is not running. Back up the volume, the Compose definition, the environment values and the image tag together, then start it again. Keep the backup private and off the device. The maintenance guide covers restore checks.

To upgrade, make a backup, change the image tag in the existing stack and redeploy without removing its volume. Check readiness, sign in and open a saved post with media. A rollback can need the database backup that matches the previous image.

On this page