Self-host Joplin Server (latest) with Levelrail

A self-hosted sync server for the Joplin note-taking app, keeping notes off third-party clouds.

  • Memory512 MiB
  • Archarm64
  • Services2

How to self-host Joplin Server (latest)

  1. Pull the images

    2 images are pulled on your server.

    Show images
    • joplin/server:latest
    • postgres:16
  2. Create the app

    2 services start in a single Compose app, with 1 named volume mount for your data, on port 22300.

  3. Fill in the secrets

    2 secrets are generated and stored encrypted, 8 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

Joplin Server (latest) requirements

Memory
About 512 MiB
Architectures
amd64 image published, arm64 image published
Ports
22300
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
not yet recorded
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 22300 on the host, so open them in the VPS firewall only if you want that.
  • Review. Image is not pinned to a version tag, so a redeploy can pull different code (joplin/server:latest).

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Joplin Server (latest). New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Joplin Server (latest) docs page.

Deploy Joplin Server (latest) your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Joplin Server (latest) from the CLI

levelrail-cli templates deploy joplin --name my-joplin

Deploy Joplin Server (latest) with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/joplin/deploy

Joplin Server (latest) configuration

Joplin Server (latest) services

ServiceImagePortsVolumes
joplin joplin/server:latest 22300 none
postgres postgres:16 none joplin_postgres_data -> /var/lib/postgresql/data

Joplin Server (latest) environment variables

VariableServiceValue
APP_BASE_URL joplin Preset by the template
DB_CLIENT joplin Preset by the template
POSTGRES_DATABASE joplin Preset by the template
POSTGRES_HOST joplin Preset by the template
POSTGRES_PASSWORD joplin Generated at deploy
POSTGRES_PORT joplin Preset by the template
POSTGRES_USER joplin Preset by the template
POSTGRES_DB postgres Preset by the template
Show all 10 variables
  • POSTGRES_PASSWORDpostgresGenerated at deploy
  • POSTGRES_USERpostgresPreset by the template

Ports and volumes

Ports
22300
Volumes
1 named mount: joplin_postgres_data -> /var/lib/postgresql/data

Joplin Server (latest) FAQ

How much memory does Joplin Server (latest) need?

The catalog lists about 512 MiB of memory for Joplin Server (latest) across its 2 services.

Does Joplin Server (latest) run on arm64?

For Joplin Server (latest), an arm64 image is published; amd64 is image published.

Does Joplin Server (latest) need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does Joplin Server (latest) bundle?

The template includes Postgres, running as its own service.

Which ports does Joplin Server (latest) use?

Joplin Server (latest) listens on port 22300 inside the stack.

Where does Joplin Server (latest) keep its data?

In a named volume: joplin_postgres_data mounted at /var/lib/postgresql/data.

Can I deploy Joplin Server (latest) on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Joplin Server (latest), so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image joplin/server:latest, postgres:16 is what you deploy there.

levelrail-cli templates deploy joplin --name my-joplin