Self-hosted app·Documents, notes and projects
Papra hosting on a Swiss VPS in ALP1.
Papra hosting on a Swiss VPS in ALP1: Docker Compose setup, sizing, encryption and backups.
- TypeScript
- SQLite
- Docker
- Caddy
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port20 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: $206.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 6 vCPU, 8 GB RAM
- 320 GB NVMe local storage
- 20 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
You can host Papra with us on any Cloud VPS, and we recommend VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer for $22.99 a month, running Debian 13 in our ALP1 site in the Swiss Alps. Papra is a single Docker container with an embedded SQLite database, so the application alone would start on the $6.99 Starter plan. The reasons to size up are OCR on scanned paper and the disk that a decade of originals will fill. The point that matters more than any plan is maintenance: Papra does not publish fixes for older releases, so a self-hosted archive is exactly as safe as your habit of updating it.
02/06
What Papra is and who builds it.
Papra is an open-source document archive written in TypeScript by Corentin Thomasset and published under the AGPL-3.0 in the papra-hq/papra repository on GitHub. It targets the paperwork you have to keep and rarely open: receipts, warranties, insurance policies, rental contracts, tax assessments. Files arrive through the web interface, a watched ingestion folder, the CLI or API, or forwarded email; Papra extracts the text, applies your tagging rules and indexes the result in SQLite's FTS5 full-text search. Documents belong to organizations with their own members and roles, which suits a household or a small office sharing one archive, and share links with an optional expiry and password let you hand a single document to someone outside.
The backend is HonoJS with Drizzle ORM and Better Auth, and background jobs run on CadenceMQ, a queue the project wrote so that self-hosters need no Redis. That is the practical difference from Paperless-ngx, which inspired it: one container instead of an application, a broker and usually a separate database. Papra uses year-based versions (YY.MINOR.PATCH); the current release, 26.7.1, was published on 22 October 2026. Uploaded originals are kept unmodified, which is what you want from an archive and also why disk use only ever grows.

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.
Papra's documentation states no hardware minimums, and we have not published our own measurements, so the gaps below are marked rather than filled with guesses. What the architecture does tell us is where the load comes from.
At rest the container is one Node.js process and a SQLite file. The default internal strategy runs Tesseract OCR on images and scanned PDFs, and folder ingestion handles one file at a time unless you raise INGESTION_FOLDER_PROCESSING_CONCURRENCY. A first import of a box of scans keeps the CPU busy until the backlog clears, and every OCR language you add slows each page; Swiss post usually needs German, French and English, often Italian as well. Docling loads machine-learning models and is far heavier than Papra, and it is the main reason we start at 8 GB rather than 2 GB.
Disk is the budget that grows. The default upload limit is 25 MiB per file (DOCUMENT_STORAGE_MAX_UPLOAD_SIZE=26214400). As a theoretical calculation, at an average of 2 MB per document the 320 GB of VPS Pro holds about 160,000 documents before you subtract the operating system and Docker images. Papra listens on port 1221 in plain HTTP, so publicly you need only SSH plus ports 80 and 443 for a reverse proxy that terminates TLS. VPS transfer is metered, not unmetered, but a private archive uses a sliver of the 20 TB included each month.
| Plan | vCPU / RAM | NVMe | Transfer / month | Price / month | Where it fits for Papra |
|---|---|---|---|---|---|
| Starter | 2 / 2 GB | 80 GB | 10 TB | $6.99 | One person, mostly born-digital PDFs, little OCR |
| Standard | 4 / 4 GB | 160 GB | 15 TB | $12.99 | A household scanning its post every week |
| Pro (recommended) | 6 / 8 GB | 320 GB | 20 TB | $22.99 | Small office, multi-language OCR, room for Docling |
| Power | 12 / 16 GB | 640 GB | 40 TB | $42.99 | Large back-catalogue import at higher concurrency |
All plans are listed on the Cloud VPS page.
04/06
How to deploy Papra with us.
The steps below start from a fresh VPS Pro on Debian 13, ordered from the deploy link above. Payment is in crypto and the account is no-KYC: an email address is enough. Point a DNS A record such as papra.example.com at the VPS's IPv4 before you begin, so the reverse proxy can obtain its certificate on first start.
Install Docker Engine and the Compose plugin from Docker's own repository, then create an unprivileged owner for the data:
apt update && apt install -y ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian trixie stable" \
> /etc/apt/sources.list.d/docker.list
apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
adduser --system --group --home /srv/papra papra
mkdir -p /srv/papra/app-data/{db,documents}
chown -R papra:papra /srv/papra/app-data
id -u papra; id -g papra # put these two numbers in the compose fileCreate /srv/papra/papra.env and chmod 600 it. Generate AUTH_SECRET with openssl rand -hex 48 and the document key-encryption key with openssl rand -hex 32:
APP_BASE_URL=https://papra.example.com
AUTH_SECRET=<output of openssl rand -hex 48>
DOCUMENTS_OCR_LANGUAGES=deu,fra,ita,eng
DOCUMENT_STORAGE_ENCRYPTION_IS_ENABLED=true
DOCUMENT_STORAGE_DOCUMENT_KEY_ENCRYPTION_KEYS=<output of openssl rand -hex 32>
EMAILS_DRIVER=smtp
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=papra@example.com
SMTP_PASSWORD=<mailbox password>
EMAILS_FROM_ADDRESS=Papra <papra@example.com>Then /srv/papra/docker-compose.yml and a short Caddyfile next to it:
services:
papra:
image: ghcr.io/papra-hq/papra:26.7.1
container_name: papra
restart: unless-stopped
user: "999:999" # replace with the ids printed above
env_file: papra.env
volumes:
- ./app-data:/app/app-data
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
volumes:
caddy-data:papra.example.com {
reverse_proxy papra:1221
}Port 1221 is deliberately not published. Docker writes its own iptables rules for published ports and those bypass ufw, so the safest Papra port is one that only Caddy can reach over the Compose network. Caddy sets X-Forwarded-For, which is the header Papra reads by default for rate limiting, so login throttling sees real client addresses. Pinning 26.7.1 rather than latest means an update happens when you decide, after you have read the release notes.
Start with docker compose up -d and open https://papra.example.com straight away, because AUTH_FIRST_USER_AS_ADMIN defaults to true and the first account registered becomes the administrator. Once your account exists, add AUTH_IS_REGISTRATION_ENABLED=false to papra.env and run docker compose up -d again. Stay on 26.6.2 or later for this to mean anything: before that release the flag hid the sign-up form while the authentication API still accepted registrations. To update, change the image tag and run docker compose pull && docker compose up -d; if you script against the API, read the notes first, since 26.7.0 and 26.7.1 both changed the responses of existing endpoints.
- 01
Storage, encryption and email
By default documents sit on the VPS NVMe under
app-data/documents. Papra also has a native S3 driver, so you can keep the originals in one of our S3-compatible object storage buckets (250 GB for $1.99 a month) and leave the VPS disk small: setDOCUMENT_STORAGE_DRIVER=s3, the endpoint, bucket and access key shown in your client panel, the secret key from the ticket we send at delivery, andDOCUMENT_STORAGE_S3_FORCE_PATH_STYLE=true, the safe choice for non-AWS endpoints. The SQLite database stays on local NVMe in every case; do not moveapp-data/dbonto anrclone mount. Splitting storage also means your backups must capture the database and the bucket at consistent points, which is more work than backing up one directory.Document encryption wraps each file's key with the key-encryption key from
papra.env, andDATABASE_ENCRYPTION_KEYcan encrypt the SQLite file as well. Be clear about what this buys you. It protects backups, snapshots and bucket contents from anyone who obtains them without the key, but the keys live on the same VM, so it does nothing against an attacker on the running server. Lose the key and the documents are unrecoverable, so keep a copy offline.Outbound mail defaults to
EMAILS_DRIVER=logger, which sends nothing, and you need SMTP for invitations and password resets. Port 25 is open on every VPS if you want to run your own MTA, but mail from a new IP without reverse DNS, SPF and DKIM tends to land in spam, and relaying through an existing mailbox on port 587 is less trouble. Inbound intake email works differently. Papra runs no SMTP receiver; the relays it documents, OwlRelay and Cloudflare Email Workers, post each message to a webhook signed withINTAKE_EMAILS_WEBHOOK_SECRET, which has had no default value since 26.7.0. Mail forwarded that way passes through a third party before it reaches ALP1. If that defeats the reason you chose Switzerland, enable the ingestion folder (INGESTION_FOLDER_IS_ENABLED=true, with a host directory mounted as Papra's ingestion-folder guide describes) and have your scanner push files to it over SFTP.For backups, daily VPS backups (+20 % of the plan price) give you a coarse restore point, and a restic copy of
app-datain a bucket gives you one you can restore file by file. Stop Papra for the duration of the snapshot so the SQLite file is consistent, with the bucket keys andRESTIC_PASSWORDexported in the shell:cd /srv/papra && docker compose stop papra restic -r s3:https://<endpoint>/<bucket> backup app-data docker compose start papraKeep
papra.envout of that bucket and store it, with its keys, somewhere offline.
05/06
Cost.
| Item | Per month |
|---|---|
| VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbps | $22.99 |
| Daily backups (+20 % of the plan) | $4.60 |
| Object storage, 250 GB (restic target or document store) | $1.99 |
| Total (theoretical) | $29.58 |
The VPS price includes full root, one IPv4 address, open outbound port 25 and the 20 TB monthly transfer; an extra IPv4 is $2 a month and priority support $10. Paying yearly takes roughly 25 % off the VPS, which works out, as a theoretical figure, to about $17.25 a month, or $206.99 billed for the year. Papra itself costs nothing, and on a self-hosted instance its free plan is unlimited by default (IS_FREE_PLAN_UNLIMITED=true).
We take crypto 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 carry 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. The pricing page has the full catalogue, and no-KYC hosting explains what we ask for at sign-up and what we do not.
06/06
Limits and your obligations.
Papra is a private archive, and that is how we expect it to be used on our network. Share links are for sending a contract to your fiduciary. An instance with open registration, or with share links used to distribute films, software or books, has become a file-sharing service, and that is not allowed here. Swiss law draws a similar line: downloading a work for private use is permitted, software excepted, while making it available online without permission is not. Since 1 April 2020, article 39d of the Copyright Act also requires a host to stop a work from being made unlawfully available again, but only where it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. A private archive with registration closed sits far from that test; a public sharing instance does not.
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, in line with the Swico Code of Conduct Hosting 2025.
If the archive holds other people's personal data, such as employees' payslips, clients' contracts or a relative's medical bills, you are responsible for it under the revised Federal Act on Data Protection, in force since 1 September 2023. Clients in the EU can send you their data without additional safeguards, because the European Commission confirmed on 15 January 2024 that Switzerland's adequacy decision remains in force.
The servers are operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That closes one shortcut and leaves the ordinary routes open: Swiss authorities can still order disclosure under Swiss procedure, and we comply with such decisions. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 was not in force on 31 October 2026, and the Federal Council has announced a second consultation. The offshore hosting page covers the jurisdiction in more depth.
Your side of the arrangement is operational. Keep Papra on the current release, since fixes land nowhere else; keep registration closed and SSH key-only; and stay within the transfer your plan includes, because VPS traffic is metered.
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 |
|---|---|---|---|---|---|---|---|
| StarterStaging, 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 |
| ProRecommendedProduction | 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.
Will Papra run on the $6.99 Starter plan?
Yes, for one person whose documents are mostly born-digital PDFs. Starter has 2 vCPU, 2 GB RAM and 80 GB NVMe, which leaves little headroom for a large OCR backlog and none for Docling. Papra's entire state is the app-data directory plus papra.env, so moving to a larger VPS later means copying one directory and changing a DNS record.
Is Papra's encryption end-to-end?
No. Encryption happens on the server with keys the server holds, so it protects stored files, backups and bucket contents, and does not protect against someone who controls the running VM. For documents that must stay unreadable even to the server, encrypt them on your own machine before uploading and accept that Papra then cannot extract or search their text.
Can I mount your object storage as Papra's document disk?
Not as a disk. Our object storage is an S3-compatible bucket reached with an endpoint and access keys, and Papra talks to it natively through its S3 driver, which is the way to use it. The SQLite database belongs on the VPS NVMe and should never sit under an rclone mount.
Does forwarding email to Papra keep my documents in Switzerland?
Not with the relays Papra documents, because each message passes through OwlRelay or Cloudflare before it reaches ALP1. If your relay is a US company, Switzerland has recognised US companies certified under the Swiss-U.S. Data Privacy Framework as adequate since 15 September 2024, so check whether yours is certified. To keep the whole path on our infrastructure, use the ingestion folder instead.
How do I update Papra without surprises?
Take a restic snapshot, change the pinned tag in docker-compose.yml to the new release, then pull and recreate the container. Papra moves forward on a single release line without backported patches, so skipping releases leaves known bugs open, and reading the notes before each update catches the API changes that occasionally ship in minor versions.
Who do I contact about a Papra deployment?
Open a support ticket from the client panel. General questions about jurisdiction, payment and policies are answered in our FAQ.
Sources
Every fact on this page, with its source
Checked 31 Oct 2026 unless noted.
Swiss law and authorities
- Revised Federal Act on Data Protection, in force since 1 September 2023fedlex RS 235.1
- Recognition of US companies certified under the Swiss-U.S. Data Privacy Framework, since 15 September 2024Federal Office of Justice
- VÜPF/OSCPT revision not in force, second consultation announced (status as of 31 October 2026)admin.ch · status as of 31 Oct 2026
- Copyright Act art. 39d, in force since 1 April 2020 (RO 2020 1003), checked 31 October 2026fedlex LDA
- Private-use downloading versus making available onlineIPI, copyright on the internet
EU and other countries
- Swiss adequacy confirmed by the European Commission's review of 15 January 2024European Commission, adequacy decisions
- CLOUD Act executive agreements, United Kingdom and Australia only, checked 31 October 2026US Department of Justice
Industry, providers and software
- Papra repository README (features, licence, stack, author)github.com/papra-hq/papra
- Papra releases @papra/app 26.7.1 (22 October 2026), 26.7.0 (1 October 2026) and 26.6.2 (1 September 2026)github.com/papra-hq/papra/releases
- Swico Code of Conduct Hosting, 2025 revision (published 13 March 2025)swico.ch/coc
Other references
- Papra docs, Installing Papra using Docker (image, port, rootless image, data paths)docs.papra.app
- Papra docs, Using Docker Composedocs.papra.app
- Papra docs, Configuration (environment variables and their defaults)docs.papra.app
- Papra docs, Versioning and tagging (year-based versions, no fixes for older releases, image tags)docs.papra.app
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.
