Back to all templates
Linkwarden logo

Linkwarden

Application512MB+ RAM

Collaborative bookmark manager for collecting, organizing, and preserving web content

bookmarkslinksarchivingcollaboration

Deploy Linkwarden in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Linkwarden

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy Linkwarden on a VPS with Server Compass

Use the Linkwarden template in Server Compass to deploy a self-hosted collaborative bookmark management stack with PostgreSQL and Meilisearch on your VPS, then verify the Linkwarden web UI in a browser.

About 7 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a Linkwarden app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for Linkwarden

Use the template picker search to find Linkwarden in the Server Compass template catalog.

Searching for Linkwarden in the Server Compass template picker
4
Step 4

Select the Linkwarden template

Choose the Linkwarden template. Server Compass fills the Linkwarden image, host port, generated secrets, PostgreSQL, Meilisearch, and persistent bookmark data volumes.

Linkwarden template selected in Server Compass
5
Step 5

Review the Linkwarden settings

Confirm the app name and compose services. In this run, the app was named linkwarden-demo and used host port 3000.

Reviewing Linkwarden project settings and compose services
6
Step 6

Deploy Linkwarden

Review the generated environment values, confirm the port is available, and click Deploy Now.

Reviewing Linkwarden environment variables and port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the Linkwarden image, starts the container, and verifies the stack.

Server Compass deploying the Linkwarden template on the VPS
8
Step 8

Confirm Linkwarden is running

After deployment finishes, return to the Apps tab and confirm the Linkwarden app is marked Running with its application URL available.

Linkwarden template running in the Server Compass Apps tab
9
Step 9

Open Linkwarden in the browser

Open the application URL in a browser. The Linkwarden web UI confirms the site is reachable.

The deployed Linkwarden web UI loaded in a browser

After Linkwarden Opens

  • Create the first Linkwarden user before production use.
  • Configure bookmark preservation, browser extensions, HTTPS, email, and user access before production use.
  • Add a domain and HTTPS before exposing the bookmark dashboard to users.
  • Back up the Linkwarden PostgreSQL, Meilisearch, and bookmark data volumes before relying on it for production bookmarks.

Verified Result

The Linkwarden web UI loaded successfully in a browser.

Linkwarden deployment questions

What does the Linkwarden template deploy?

It deploys Linkwarden with PostgreSQL and Meilisearch backing services plus persistent database volumes.

Which port did the tutorial use?

The tutorial used host port 3000, which maps to the Linkwarden web server on container port 3000.

Why does the guide stop at the first-run web UI?

The tutorial verifies the clean first-run web UI because real bookmarks, users, browser extensions, and access rules depend on the production server.

Should this become a blog post?

No. The deployment guide should live on the Linkwarden template detail page and be linked from the reusable template deployment docs page.

CLI Deployment

Deploy Linkwarden Yourself

Want full control? Here's how to deploy Linkwarden yourself using Docker Compose.

1

Remote into Your Server

Initiate a secure shell connection to your server using the command below.

terminal
# Connect to your VPS
ssh root@your-server-ip

# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ip

First time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh

2

Create the App Directory

Organize your deployment by creating a dedicated project folder.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/linkwarden
cd ~/apps/linkwarden
3

Write Your docker-compose.yml

Create a new docker-compose.yml file and paste this configuration:

docker-compose.yml
services:
  linkwarden:
    image: ghcr.io/linkwarden/linkwarden:latest
    ports:
      - "3000:3000"
    environment:
      - DATABASE_URL=postgresql://postgres:<your-db-password>@postgres:5432/linkwarden
      - NEXTAUTH_SECRET=<your-nextauth-secret>
      - NEXTAUTH_URL=http://localhost:3000
      - MEILI_ADDR=http://meilisearch:7700
      - MEILI_MASTER_KEY=<your-meili-key>
    volumes:
      - linkwarden_data:/data/data
    restart: unless-stopped
    depends_on:
      postgres:
        condition: service_healthy
      meilisearch:
        condition: service_started

  postgres:
    image: postgres:16-alpine
    environment:
      - POSTGRES_PASSWORD=<your-db-password>
      - POSTGRES_DB=linkwarden
    volumes:
      - linkwarden_db:/var/lib/postgresql/data
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres -d linkwarden"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 30s

  meilisearch:
    image: getmeili/meilisearch:v1.12.8
    environment:
      - MEILI_MASTER_KEY=<your-meili-key>
    volumes:
      - linkwarden_meili:/meili_data
    restart: unless-stopped

volumes:
  linkwarden_data:
  linkwarden_db:
  linkwarden_meili:
Required Settings
PORTHost port to expose(default: 3000)
DB_PASSWORDDatabase password
NEXTAUTH_SECRETSession secret
MEILI_KEYSearch key
4

Launch the Containers

Start the services and tail the logs to verify startup.

terminal
# Spin up containers
docker compose up -d

# Verify deployment
docker compose ps

# Check logs for errors
docker compose logs -f
5

Open Firewall Ports

Open the required port in your firewall to allow access.

terminal
# Allow the application port through firewall
sudo ufw allow 3000/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:3000
Skip the Terminal

Want the easy way? Try Server Compass.

Skip the terminal and deploy Linkwarden with a visual interface. Configure everything with clicks, not commands.

  • Visual config editor
  • Instant deployment
  • Automatic HTTPS
  • Smooth updates
  • Live monitoring
  • Quick rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Linkwarden with Server Compass, complete these steps to finish setup

1

Open the Linkwarden URL in your browser

2

Create your account

3

Start saving and organizing bookmarks

Need help? Check out our documentation for detailed guides.

Linkwarden FAQ

Common questions about self-hosting Linkwarden

How do I deploy Linkwarden with Server Compass?

Simply download Server Compass, connect to your VPS, and select Linkwarden from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Linkwarden?

Linkwarden requires a minimum of 512MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Linkwarden data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Linkwarden backup and restore procedures.

How do I update Linkwarden to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Linkwarden image will be pulled and deployed with zero downtime.

Is Linkwarden free to self-host?

Linkwarden is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Linkwarden?

Download Server Compass and deploy Linkwarden to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass