Self-hosted app·Documents, notes and projects
TriliumNext Notes hosting on a Swiss VPS.
No KYC.
- Trilium
- Node.js
- SQLite
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
Yes. TriliumNext Notes runs on our VPS Starter in ALP1, Swiss Alps: 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer for $6.99 a month, delivered with Debian 13 and root access. You run the official Docker image behind a TLS reverse proxy and point your desktop clients and phone browser at the resulting HTTPS address. Deploy VPS Starter with Debian 13.
What matters most is not CPU. Your whole knowledge base, images and attachments included, lives in a single SQLite file, and Trilium keeps up to four more copies of it next to the original. Size the disk for that file five times over, copy it off the server every day, and pin the image version so upgrades happen when you decide rather than when a latest tag moves.
02/06
What TriliumNext Notes is and who maintains it.
Trilium is a hierarchical note-taking application built for large personal knowledge bases. Notes sit in a tree of any depth, one note can live in several branches at once, and attributes plus a scripting API push it towards a personal database, with ETAPI as a REST interface for automation. A server install provides the web interface (nearly identical to the desktop app), a touch-optimised mobile frontend, and the sync hub that desktop installs replicate against. It can also publish chosen notes to the open internet, which matters for acceptable use further down.
The original author, zadam, put the project into maintenance mode; a community fork named TriliumNext started in early 2024, and zadam later handed the original repository over to that organisation. The code now lives at TriliumNext/Trilium under the AGPL-3.0, its main developer is Elian Doran, and the Docker image is triliumnext/trilium (older tutorials still use triliumnext/notes). On 4 November 2026 the latest stable release is v0.106.1, published on 23 October 2026: a security release that moves the Docker images to Node.js 24.22.1 after a Brotli decoding flaw that any client able to reach the server could trigger before logging in. An internet-facing Trilium needs an owner who reads changelogs.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Requirements and sizing.
The project publishes no CPU or RAM minimum. Its server requirements page lists platforms only: Docker on Linux, Windows or macOS, native binaries for x86-64 and aarch64, and best-effort ARMv7 images that stay on Node.js 22. Architecturally it is one Node.js process and one SQLite database, with no separate database server, queue or cache to feed, so the CPU sits mostly idle between edits. The project says it stays usable beyond 100,000 notes.
Disk is where people get caught. The data directory holds document.db (images and attachments are stored inside it), config.ini, the logs, and a backup/ folder where Trilium writes a daily, a weekly and a monthly copy, plus one taken before each schema migration. Peak usage is therefore about five times the database size (theoretical). Beyond roughly that point, move to VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB, $12.99) instead of switching Trilium's backups off.
Traffic will not be the constraint. VPS transfer is metered rather than unmetered, but a deliberately pessimistic month — a 5 GB database pulled in full by three new devices — comes to 15 GB, or 0.15 % of the 10 TB included (theoretical).
| TriliumNext needs | VPS Starter provides | |
|---|---|---|
| CPU | one Node.js process, mostly idle | 2 vCPU |
| RAM | Not measured | 2 GB |
| Disk | ≈ 5 × database size (theoretical) | 80 GB NVMe |
| Network | 8080 inside Docker only; 80 and 443 public | 1 Gbps, 10 TB/month |
04/06
How to deploy it with us.
Order the plan with Debian 13 from the deploy link, and while it provisions, create a DNS A record (say notes.example.com) pointing at the VPS's IPv4 address. Log in as root, update the system and install Docker from Docker's own repository. The convenience script is acceptable on a fresh machine, provided you read it before running it:
apt update && apt full-upgrade -y
curl -fsSL https://get.docker.com -o get-docker.sh
less get-docker.sh # read it first
sh get-docker.sh
mkdir -p /opt/trilium/trilium-data && cd /opt/triliumThe compose file below runs Trilium and Caddy on a private Docker network. Trilium publishes no port at all, and that is deliberate: ports published by Docker go around ufw-style host firewalls, so the only safe 8080 is one that is never published. Caddy obtains the Let's Encrypt certificate on its own and passes WebSocket traffic through without extra configuration.
# /opt/trilium/compose.yaml
services:
trilium:
image: triliumnext/trilium:v0.106.1 # pin a version; never "latest"
restart: unless-stopped
environment:
TRILIUM_DATA_DIR: /home/node/trilium-data
TRILIUM_NETWORK_TRUSTEDREVERSEPROXY: "uniquelocal"
TZ: Europe/Zurich
volumes:
- ./trilium-data:/home/node/trilium-data
# no "ports:" on purpose: only Caddy talks to 8080
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
- caddy-config:/config
depends_on:
- trilium
volumes:
caddy-data:
caddy-config:# /opt/trilium/Caddyfile
notes.example.com {
reverse_proxy trilium:8080
}The trusted-proxy setting tells Trilium to take the client address from X-Forwarded-For when a request arrives from a private range, which is where Caddy sits; without it, authentication and rate limiting see every visitor as the proxy. Start everything with docker compose up -d, follow docker compose logs -f trilium, and open https://notes.example.com. The first screen offers a new document, a restore from backup, or a pull from an existing desktop install. Set a long password, then enable TOTP in the multi-factor options before importing anything.
If you prefer nginx, start from the project's configuration and raise proxy_read_timeout and proxy_send_timeout to 300 seconds. With nginx's 60-second default, a long first sync ends in a 504.
Upgrading is a tag change followed by docker compose pull && docker compose up -d, and Trilium takes its pre-migration backup by itself. Upgrade the desktop clients in the same sitting: the sync protocol carries a version number that the project increments from time to time, and a client on a different sync version from the server will not sync.
For backups, the files worth shipping are the ones Trilium already writes into trilium-data/backup/. They are consistent snapshots, whereas copying the live document.db while its write-ahead log is active can capture a half-written state. Send them to an S3-compatible object storage bucket with restic, which encrypts the repository on the VPS before anything is uploaded:
export AWS_ACCESS_KEY_ID=... AWS_SECRET_ACCESS_KEY=...
export RESTIC_REPOSITORY=s3:https://<endpoint-from-your-panel>/<bucket>
export RESTIC_PASSWORD_FILE=/root/.restic-pass
restic init # once
restic backup /opt/trilium/trilium-data/backup /opt/trilium/trilium-data/config.ini
restic forget --keep-daily 14 --keep-monthly 12 --prunePut the last two commands in a daily cron job. A desktop client that syncs regularly is also a full replica on hardware you control, which makes it the cheapest second location you will ever have. Keep the bucket for backups: do not try to run the database on it through rclone mount.
05/06
Cost.
| Item | Per month |
|---|---|
| VPS Starter (2 vCPU, 2 GB, 80 GB NVMe, 10 TB, 1 Gbps) | $6.99 |
| Daily VPS backups, optional (+20 %) | +$1.40 |
| Object storage, 250 GB, for restic | $1.99 |
| Starter + bucket | $8.98 |
| Starter + daily backups + bucket | $10.38 |
The totals are calculations from the catalogue. Yearly billing takes about 25 % off, $62.99 a year for the Starter. Root access, one IPv4 address and the 10 TB allowance are included; an extra IPv4 ($2) or priority support ($10) is not needed for Trilium. Every plan is on the pricing page.
Payment is in cryptocurrency only — Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins — with prices and balances in US dollars. Top-ups run from $25 to $5,000 and earn a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; the unused paid part of a top-up is refundable within 14 days. Ordering is no-KYC: an email address is enough. The honest downside is that this is an unmanaged VPS. We supply the machine; installing, patching and backing up Trilium is your work, and if you need card billing we are the wrong host.
06/06
Jurisdiction, limits and your obligations.
The servers sit in ALP1 and the contracting party is Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen, Switzerland). Your instance therefore runs under the revised Federal Act on Data Protection, in force since 1 September 2023. If your notes contain personal data about EU clients or colleagues, the European Commission's review of 15 January 2024 confirmed that Switzerland still offers an adequate level of protection, so that data can move here without additional safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, and none with Switzerland. That removes one shortcut for US requests; it does not put data out of reach of every foreign authority, and we do not claim it does. The revision of the surveillance ordinance (VÜPF/OSCPT) consulted on in January 2025 was not in force on that date either; a second consultation has been announced. The offshore hosting page sets out what Swiss jurisdiction changes and what it does not.
Two caveats are specific to Trilium. Protected notes are encrypted with AES-128 under a key derived from your password through scrypt, so their titles, content, images and attachments are unreadable in the database file and in every backup; the tree structure, dates and attributes stay in clear. On a server install, however, the protected session is held by the server process, which keeps the data key in memory until the session expires (ten minutes of inactivity by default). Protected notes defend against a stolen disk or a leaked backup, not against whoever controls the running server while your session is open. The second caveat concerns the AI features, which send note content to whichever provider you configure. Switzerland has recognised US companies certified under the Swiss-U.S. Data Privacy Framework as adequate since 15 September 2024, so using a certified provider is lawful, but those notes have left the Alps all the same.
On acceptable use, the line falls where Trilium meets the public. Private use raises nothing beyond ordinary law. Sharing is different, because a shared note is published at a public URL, and Swiss law allows downloading a work for private use (software excepted) but not making it available online without permission. Do not use the share feature to distribute films, books, software or any other work you have no right to publish. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Under article 39d of the Copyright Act, a host must stop a work from being made unlawfully available again only when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement.
You are also the operator of your instance. Keep it patched, never set TRILIUM_GENERAL_NOAUTHENTICATION on a public address, and treat any third-party personal data in your notes as your own responsibility under the FADP. For anything not covered here, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I keep using the desktop app with the server?
Yes, and you should. Desktop installs sync against the server and keep a complete local copy, so you can work offline and you get a replica at no extra cost. Point the desktop's sync settings at your HTTPS address and keep both sides on the same release, since a sync-version mismatch stops synchronisation.
Is there a mobile app?
The project ships no official native app. The server delivers a touch-optimised interface to any current mobile browser, and that is what most people use. Community clients exist — TriliumDroid and Pocket Trilium on Android, Trinote on iOS — but we have not evaluated them, and TriliumDroid needs the server's sync version to match, which is one more reason to pin your image tag.
Is VPS Starter enough for a small team?
Trilium is built around one user per installation, with no roles or per-user permissions. For a team, run one instance per person: separate containers, data directories and subdomains behind the same Caddy.
Can the database live on object storage?
No. Our buckets are S3-compatible object storage, not block volumes, so nothing is formatted or mounted as a disk, and running SQLite on an rclone mount is asking for corruption. Keep document.db on the VPS's NVMe and use the bucket for restic backups.
Which ports should be open?
SSH, 80 (certificate issuance and the HTTPS redirect) and 443. Port 8080 should exist only inside Docker. If ss -lntp ever shows 0.0.0.0:8080, a ports: line has crept back into the compose file.
Do you need my identity to order?
No. Ordering is no-KYC: an email address is enough, and payment is in cryptocurrency. The acceptable-use terms above and Swiss law still apply; other questions are covered in the general FAQ.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Swiss law and authorities
- Federal Act on Data Protection (FADP), RS 235.1 — in force since 1 September 2023fedlex.admin.ch
- Federal Office of Justice — recognition of Swiss-U.S. DPF-certified companies since 15 September 2024bj.admin.ch
- admin.ch — VÜPF/OSCPT revision consulted on 29 January 2025, not in force as of 31 October 2026, second consultation announcedadmin.ch · consulted 29 Jan 2025
- Copyright Act (CopA), art. 39d — in force since 1 April 2020, RO 2020 1003 (checked 31 October 2026)fedlex.admin.ch · checked 31 Oct 2026
- Swiss Federal Institute of Intellectual Property — downloading for private use vs making available onlineige.ch
EU and other countries
Industry, providers and software
- TriliumNext/Trilium, release v0.106.1 — published 23 October 2026, security release updating Node.js in the Docker images (checked 4 November 2026)github.com
- TriliumNext/Trilium README — repository handover, AGPL-3.0 licence, mobile clients, sync-version note, 100,000-note claim (checked 4 November 2026)github.com
- TriliumNext v0.90.3 release notes — fork started early 2024 after upstream entered maintenance (checked 4 November 2026)newreleases.io
Other references
- Trilium docs, Using Docker — image name, data directory, warning against latest, TZ variable (checked 4 November 2026)docs.triliumnotes.org
- Trilium docs, server system requirements (checked 4 November 2026)docs.triliumnotes.org
- Trilium docs, Backup — daily/weekly/monthly/pre-migration copies, restore procedure (checked 4 November 2026)docs.triliumnotes.org
- Trilium docs, Configuration — TRILIUM_[SECTION]_[KEY] variables, TRILIUM_NETWORK_TRUSTEDREVERSEPROXY, TRILIUM_GENERAL_NOAUTHENTICATION (checked 4 November 2026)docs.triliumnotes.org
- Trilium docs, Trusted proxy (checked 4 November 2026)docs.triliumnotes.org
- Trilium docs, Synchronization fails with 504 Gateway Timeout — 300-second nginx timeouts (checked 4 November 2026)docs.triliumnotes.org
- Trilium docs, Protected notes — AES-128, scrypt, what is and is not encrypted (checked 4 November 2026)docs.triliumnotes.org
- Trilium developer guide, security architecture — server-side protected session, single user per installation (checked 4 November 2026)docs.triliumnotes.org
- IT Reseller — Swico publishes the updated Code of Conduct Hosting, 13 March 2025, in force from April 2025itreseller.ch
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
