Docker
Each release publishes the server image ghcr.io/annoto-app/annoto-server for amd64 and arm64, with a compose file beside it.
Start
mkdir annoto && cd annoto
curl -fsSLO https://github.com/annoto-app/annoto/releases/latest/download/compose.yml
curl -fsSL -o .env https://github.com/annoto-app/annoto/releases/latest/download/example.envOpen .env and set ANNOTO_PASSWORD (openssl rand -base64 24 makes one). Then:
docker compose up -dThe server answers on 127.0.0.1:8080, on this machine only. The vault lives in ./data: that folder is everything to back up (Upgrades and backups).
HTTPS in front
Browsers sync only over HTTPS, so the server needs a name and a certificate.
Caddy on the same machine gets and renews a certificate by itself, for a name that points to this machine and ports 80 and 443 open to the internet. Its whole Caddyfile:
caddynotes.example.org { reverse_proxy 127.0.0.1:8080 }Tailscale on the same machine, for a server only your devices reach:
tailscale serve --bg 8080(setup in Tailscale).Another proxy you already run (Traefik, nginx, a NAS's own): forward the name to
127.0.0.1:8080. To reach the server from a proxy in another container, replace theportslines incompose.ymlwith the proxy's network.
Then open https://notes.example.org and create the vault.
Without compose
docker run -d --name annoto --restart unless-stopped \
-e ANNOTO_PASSWORD='<16 or more characters>' \
-v "$PWD/data:/data" -p 127.0.0.1:8080:8080 \
ghcr.io/annoto-app/annoto-server:latestBuild the image yourself
From a clone: docker build -t annoto-server .
A server with no public address cannot get a certificate from Let's Encrypt the usual way. The Dockerfile's with-caddy target adds Caddy, which gets one through a DNS challenge at your DNS provider. Build it with that provider's Caddy module and run it with ANNOTO_DOMAIN and ACME_DNS set; Caddy answers on port 8443. A private server walks through it on Fly.io:
docker build --target with-caddy --build-arg CADDY_DNS=cloudflare -t annoto-server:caddy .