Order the VPS from the deploy link above; an email address is enough to open the account, as explained on our no-KYC hosting page. Point a DNS A record (notes.example.com below) at the VPS's IPv4 address. Install Docker from Docker's own apt repository rather than Debian's docker.io package: Debian 13 "trixie" is on Docker's supported list, and you want docker-ce and docker-compose-plugin. Run timedatectl and confirm the clock is synchronised, because Joplin Server checks clock drift against an NTP server when it starts.
Create /opt/joplin/.env, writing the base URL without a trailing slash:
Only Caddy publishes ports, and that is deliberate. Docker writes its own packet-filter rules for published ports, which sidestep host firewall front-ends such as ufw, so leaving 22300 and 5432 unpublished is the protection that actually holds; the project's sample maps 22300 to the host, which you do not want on a public VPS. The Joplin image is pinned to an exact version rather than latest, so upgrades happen when you decide, after a dump. PostgreSQL stays on major version 16, as in the project's sample, because a newer major release means dump and restore, not a tag change.
Start the stack with docker compose up -d from /opt/joplin and follow docker compose logs -f app until the server reports that it is listening. Open https://notes.example.com/login, sign in as admin@localhost with the password admin, and change both at once; default credentials like these are among the first things automated scanners try. Enable multi-factor authentication on the admin account and create a separate, non-admin user for syncing, as the project recommends.
In each Joplin client, choose "Joplin Server" as the synchronisation target, enter https://notes.example.com with the sync user's email and password, and run the configuration check. Enable encryption on the first client, set a master password, sync, and let the other clients pick it up. Mail is optional: Joplin's mailer stays disabled until a no-reply address is configured, and without it the admin sets passwords by hand. Port 25 is open outbound on every VPS of ours, but for password-reset mail an authenticated relay is the better route, and Joplin's mailer defaults to port 465 for that.
For backups, dump the database nightly from cron or a systemd timer and push the dumps off the machine. Our object-storage buckets are S3 endpoints, not disks: use restic or rclone against them, and never put PostgreSQL's data directory on an rclone mount. With the bucket's keys in AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, a RESTIC_PASSWORD set and a one-off restic init done, the nightly job is: