Levelrail
Skip to content

Self-host Linkwarden with Docker ​

A bookmark manager that archives full page snapshots, not just links, so pages stay readable.

This page describes the Levelrail template for Linkwarden (Productivity). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.linkwarden.app/self-hosting/setup.

Recommended memory: about 1024 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
linkwarden_db_data -> /var/lib/postgresql/data
linkwardenghcr.io/linkwarden/linkwarden:v2.9.33000
linkwarden_data -> /data/data
meilisearchgetmeili/meilisearch:v1.11.1none
linkwarden_meili_data -> /meili_data

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
linkwardenDATABASE_URLGenerated at deploy
linkwardenMEILI_HOSTPreset in the template
linkwardenMEILI_MASTER_KEYGenerated at deploy
linkwardenNEXTAUTH_SECRETGenerated at deploy
linkwardenNEXTAUTH_URLPreset in the template
meilisearchMEILI_MASTER_KEYGenerated at deploy
meilisearchMEILI_NO_ANALYTICSPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Linkwarden with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Linkwarden. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy linkwarden --name my-linkwarden

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.