Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Self-Host Linkwarden with Docker Compose: Bookmarks, Archived

Measured Sandbox Benchmark Idle RAM Startup Containers Recommended VPS 550.0 MB 189.9s 3 2 GB VPS Per-container RAM: linkwarden 475.8 MB · meilisearch 44.0 MB · postgres 30.3 MB (sandbox verified 2026-11-24) View the interactive benchmark plate and full VPS sizing comparison or compare all measured stacks on VPSFolio Benchmarks . What Linkwarden does and what it needs Linkwarden is a…

Self-Host Linkwarden with Docker Compose: Bookmarks and Archived Files

Linkwarden is a collaborative bookmark manager that goes beyond simple URL storage. When you save a webpage, it captures a screenshot, PDF, and HTML copy, ensuring content survival amidst link rot. Key features include collections, sub-collections, tags, reader view with highlights and annotations, full-text search, public sharing, and per-member permissions. The app comes with a browser extension, native mobile apps, and an API.

The recommended setup consists of three containers: linkwarden (Next.js app), postgres (database), and meilisearch (search index). Linkwarden runs on port 3000, while postgres and meilisearch utilize their respective volumes for data persistence.

To get started, generate secrets for Postgres, NextAuth, and Meilisearch using OpenSSL, then create .env file with the necessary information. Next, set up the Docker Compose file, specifying the services, their dependencies, environment variables, and volume mappings. A production-ready Docker Compose setup is provided as an example.

After setting up the environment, start the containers using the provided command. Access the app through an SSH tunnel, create the first account, and use a reverse proxy like Caddy for HTTPS support. Ensure NEXTAUTH_URL matches the public HTTPS URL to avoid login issues.

To secure the instance, create an admin account promptly after first boot, disable public signup, and keep sensitive keys out of version control. Regularly back up the Postgres and archive volumes to prevent data loss. Update the app by pulling the latest image and recreating the containers.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Deleting a React view can be better than simplifying its state

A date-range switch looks like a harmless addition to a React component. In practice, it can introduce a second navigation model that has to stay in sync with the first.

  • Twinly React component suffered from unnecessary complexity with dual navigation modes.
  • Design decision to remove daily timeline, simplify date navigation process.
  • Maintained weekly view, event markers, tap-to-edit behavior, home-screen summary.

More from Sunday, 29 November 2026 →