Self-hosted app·Health and fitness
OpenEMR hosting on a Swiss VPS.
OpenEMR hosting on a Swiss VPS in ALP1: Docker Compose for 8.5.0, sizing, encrypted backups, $6.99/mo, and the duties that stay with you.
- PHP
- MariaDB
- 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, you can run OpenEMR with us. The plan we recommend is Cloud VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, $6.99 a month) in ALP1, our facility in the Swiss Alps, running the project's official Docker image next to a MariaDB container. That is enough for one practice with a few people logged in at the same time; a clinic with a front desk, several providers and a scanner that rarely stops should start on Standard instead. The hardware is the easy part. What decides whether this goes well is how quickly you apply upstream releases: OpenEMR 8.3.0, 8.4.0 and 8.5.0 each fixed vulnerabilities the project itself rated critical, and an EHR left on an old image tag with port 443 open to the internet is how patient records actually leak.
02/06
What OpenEMR is and who maintains it.
OpenEMR is an open-source electronic health record and practice-management system. It covers charts, scheduling, prescriptions, lab results, billing and a patient portal, and it exposes a FHIR R4 API with SMART on FHIR app launch. Technically it is a PHP application served by Apache, with its data in MariaDB or MySQL, released under the GNU GPL. The OpenEMR Foundation, a US nonprofit organised in 2019, supports a project whose first public release goes back to 2002.
The project's regulatory home is the United States. Version 8.0.0, released in February 2026, is the ONC-certified line, and the project's wiki records that certification for version 7 was retired on 27 February 2026. A practice in Switzerland or the EU has no use for ONC certification and should expect US-shaped defaults (X12 claims, US e-prescribing modules, US code sets) that need local configuration or a module before they fit Swiss or EU billing.
The current release is 8.5.0, published on 27 October 2026. It requires PHP 8.3 or newer and either MariaDB 10.11+ or MySQL 8.4+. The Docker image bundles PHP and Apache, so the database is the only version you choose yourself; the upstream compose example uses MariaDB 11.8, and so do we.
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 image weighs about 594 MB on Docker Hub. The project's own benchmark of the optimised image (November 2025) puts the application container at around 93 MB of memory on average and 117 MB at peak, but that figure excludes the database and describes a container with no real users behind it. Under load the cost is Apache: each worker carries a full PHP interpreter, and generating a PDF report or a C-CDA export makes one worker briefly far larger than the idle figure. MariaDB wants a buffer pool sized to its working set, so on a 2 GB plan we cap it at 512 MB and add 2 GB of swap as a safety margin, not as working memory.
Network needs are modest. The container listens on 80 and 443: port 80 answers the Let's Encrypt HTTP-01 challenge and redirects, 443 carries everything else, and SSH stays on 22. MariaDB's 3306 should never be published. Disk use is dominated by scanned documents, which live in the sites volume rather than in the database. As a theoretical figure, once the OS, Docker images and a modest database have taken about 10 GB, the remaining ~70 GB of Starter's NVMe hold roughly 230,000 scanned pages at an assumed 300 KB per page.
| Practice profile (our starting recommendation) | Plan | vCPU / RAM / NVMe | Included transfer | Price |
|---|---|---|---|---|
| Evaluation, or one provider with 1–3 concurrent users | Cloud VPS Starter | 2 / 2 GB / 80 GB | 10 TB/mo at 1 Gbps | $6.99/mo |
| Small clinic, 4–10 concurrent users, patient portal on | Cloud VPS Standard | 4 / 4 GB / 160 GB | 15 TB/mo at 1 Gbps | $12.99/mo |
| Several providers, heavy scanning and reporting | Cloud VPS Pro | 6 / 8 GB / 320 GB | 20 TB/mo at 1 Gbps | $22.99/mo |
The user counts in that table are judgement, not a measured ceiling. All three plans are described on the Cloud VPS page.
04/06
Deploying it with us.
Order Cloud VPS Starter with Debian 13, point a DNS record (for example emr.example.com) at its IPv4 address, and log in over SSH. Install Docker Engine from Docker's own Debian repository rather than the distribution's docker.io package, so the compose plugin matches current documentation, then add swap:
apt update && apt full-upgrade -y
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 [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
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstabDocker writes its own packet-filter rules for published ports, so a host firewall such as ufw does not protect a port you published in compose. The reliable way to keep the database private is not to publish it at all, which is what the file below does. Secrets go in /opt/openemr/.env, readable by root only (chmod 600):
MYSQL_ROOT_PASS=change-to-a-long-random-string
MYSQL_PASS=change-to-another-long-random-string
OE_USER=pick-a-non-obvious-admin-name
OE_PASS=change-to-a-third-long-random-string
DOMAIN=emr.example.com
EMAIL=it@example.comThen /opt/openemr/compose.yaml, adapted from the upstream example with the image pinned to a release, secrets moved out of the file, the certificate store persisted and the buffer pool capped:
services:
mysql:
image: mariadb:11.8
restart: always
command: ['mariadbd', '--character-set-server=utf8mb4', '--innodb-buffer-pool-size=512M']
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASS}
volumes:
- databasevolume:/var/lib/mysql
openemr:
image: openemr/openemr:8.5.0
restart: always
depends_on:
- mysql
ports:
- "80:80"
- "443:443"
environment:
MYSQL_HOST: mysql
MYSQL_ROOT_PASS: ${MYSQL_ROOT_PASS}
MYSQL_USER: openemr
MYSQL_PASS: ${MYSQL_PASS}
OE_USER: ${OE_USER}
OE_PASS: ${OE_PASS}
DOMAIN: ${DOMAIN}
EMAIL: ${EMAIL}
volumes:
- sitevolume:/var/www/localhost/htdocs/openemr/sites
- letsencrypt:/etc/letsencrypt
- logvolume:/var/log
volumes:
databasevolume: {}
sitevolume: {}
letsencrypt: {}
logvolume: {}Start it with docker compose up -d and follow docker compose logs -f openemr. On first boot the container runs the installer against the empty database and then requests a certificate for DOMAIN. If only staff use the system, the stronger setup is to publish 443 on a WireGuard interface instead of the public address, at the cost of handling certificates yourself, because Let's Encrypt can no longer reach port 80; see our guide to VPN servers.
Backups are the step people skip. Our daily VPS backups (+20 %) are a useful second layer, but any copy of a running MariaDB taken from outside the database is crash-consistent at best, so take a logical dump as well and send it off the machine. A nightly job along these lines writes a consistent dump and pushes it, together with the documents volume, to a bucket on our S3-compatible object storage using restic, which encrypts on the VPS before anything leaves it (export the bucket's access keys and RESTIC_PASSWORD first):
set -a; . /opt/openemr/.env; set +a
cd /opt/openemr
docker compose exec -T mysql mariadb-dump -uroot -p"$MYSQL_ROOT_PASS" \
--single-transaction openemr | gzip > /var/backups/openemr-$(date +%F).sql.gz
restic -r s3:https://<bucket-endpoint>/<bucket>/openemr backup \
/var/backups /var/lib/docker/volumes/openemr_sitevolumeRestore it onto a scratch VPS once a quarter; until you have done that, you do not know whether the dump contains what you think it does. A longer walk-through of restic against our buckets is in object storage.
Upgrades follow the same pattern as the install. Change the tag to the next release, run docker compose pull && docker compose up -d, and the image migrates the database on start. Upstream sets two conditions: sites must be its own volume, as above, and a move to a four-digit patch tag (7.0.3 to 7.0.3.4, in upstream's example) is not handled this way. Upstream also publishes immutable dated tags (8.5.0-YYYY-MM-DD) if you want to pin an exact build. Take a dump before every upgrade and watch the project's GitHub releases page, which is where the security advisories appear.
05/06
Cost.
| Item | Monthly |
|---|---|
| Cloud VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps | $6.99 |
| Daily VPS backups (+20 %) | $1.40 |
| Object storage, 250 GB bucket for restic | $1.99 |
| Total | $10.38 |
Yearly billing takes roughly 25 % off the VPS, which puts Starter at about $5.25 a month (the yearly price divided by twelve). The same setup on Standard costs $12.99 for the VPS, or $15.59 with daily backups. Extra IPv4 addresses are $2 a month and priority support is $10 a month. Outbound port 25 is open on every VPS, so OpenEMR can send appointment reminders directly; keep clinical content out of those emails and send a portal link rather than a diagnosis. Every current figure 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, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. We accept business customers paying this way, and ordering is no-KYC: an email address is enough. The real downside for a medical practice is administrative: if your fiduciary only reconciles bank transfers against invoices, crypto payment is a conversation to have before you order, not after.
06/06
Limits and your obligations.
Running OpenEMR makes you the controller of health data, and hosting it with us does not move that responsibility. Under the revised Swiss FADP, in force since 1 September 2023, health data are sensitive personal data (art. 5 let. c); extensive processing of such data is one of the cases that requires a data protection impact assessment (art. 22); and a controller using a processor must satisfy itself that the processor can guarantee data security (art. 9). We provide and operate the virtual machine. OpenEMR, MariaDB, the operating system inside the VPS, its patching, access control and backups are yours to run. This page claims no security certification for the service, so do not cite one in your own documentation.
For an EU practice, the European Commission's review of 15 January 2024 confirmed that Switzerland continues to provide an adequate level of protection, so records can sit in ALP1 without additional transfer safeguards. Data leaves Switzerland again the moment you switch on a US-based module such as an e-prescribing service or an SMS or fax gateway. Since 15 September 2024 Switzerland treats US companies certified under the Swiss-U.S. Data Privacy Framework as adequate, so check the vendor's certification before you enable one. Swiss practices are also bound by medical professional secrecy and cantonal health law; ask your cantonal authority or professional association whether a hosting contract needs specific clauses.
On authority requests, we act on a decision of a competent Swiss authority. 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 describes the current legal route and is not a promise that your data sits beyond every foreign jurisdiction; the offshore hosting page sets out what Swiss jurisdiction does and does not cover.
Not allowed: using OpenEMR or its portal to collect health data from people who have not agreed to it, presenting an instance as a clinic, insurer or hospital you are not, selling or publishing patient records, and anything else excluded by our acceptable use policy. We forward complete complaints about an instance 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).
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 install OpenEMR without Docker?
Yes. Debian 13 ships PHP 8.4 and MariaDB 11.8, both above the 8.5.0 minimums, and the release tarball installs under Apache in the usual way. We still recommend the container, because an upgrade becomes a tag change with an automatic database migration instead of an unpack, merge and SQL-upgrade job repeated for every security release.
Is 2 GB of RAM really enough?
For one provider and a front desk, yes, with the buffer pool capped and swap in place. When swap starts carrying steady traffic, or reports take long enough that staff notice, move to Standard. The cleanest route is to restore your latest dump and sites volume onto a new Standard VPS, which also serves as that quarter's restore test.
Does hosting in Switzerland make OpenEMR HIPAA- or FADP-compliant?
No. Location helps with transfer rules, but compliance comes from your own safeguards: access control, multi-factor authentication, audit logging, patching, encrypted backups and a contract with every processor involved. Treat the server's location as one input to your assessment, not its conclusion.
Can I expose the patient portal but keep the staff interface private?
Yes, with a reverse proxy in front of the container that publishes only the portal paths and the OAuth and FHIR endpoints the portal relies on, while staff reach the full interface over WireGuard. The portal loads assets from directories outside /portal, so test the rule set with a real patient account before you rely on it.
Can I mount your object storage as a disk for OpenEMR's documents?
No. The buckets are S3-compatible storage reached with an endpoint and access keys, and you use them through the S3 API with restic, rclone or aws-cli. Never put sites or the MariaDB data directory on an rclone mount; keep both on the VPS's NVMe and send copies to the bucket. The FAQ covers how buckets are billed and accessed.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023; arts. 5 let. c, 9 and 22Fedlex, RS 235.1
- Swiss recognition of US companies certified under the Swiss-U.S. DPF since 15 September 2024Federal Office of Justice
EU and other countries
- Commission review of 15 January 2024 confirming Switzerland's adequacyEuropean Commission, adequacy decisions
- CLOUD Act executive agreements listed only with the UK and Australiajustice.gov · checked 31 Oct 2026
Industry, providers and software
- OpenEMR 8.5.0 release notes and minimum supported versions (PHP 8.3+, MariaDB 10.11+, MySQL 8.4+), changelog dated 26 October 2026GitHub, openemr/openemr v8_5_0
- Critical security advisories fixed in 8.3.0, 8.4.0 and 8.5.0GitHub, openemr/openemr releases
- Upstream compose example (MariaDB 11.8) and November 2025 container benchmarkgithub.com
- Debian 13 ships PHP 8.4 and MariaDB 11.8Debian Wiki, DebianTrixie
Other references
- 8.5.0 published 27 October 2026OpenEMR downloads
- Official image: current tag, size (~594 MB), environment variables, ports 80/443, Let's Encrypt via DOMAIN/EMAIL, OPENEMR_SETTING_, upgrade conditions, dated tagsDocker Hub, openemr/openemr
- Version 8 released as the ONC-certified version, 13 February 2026OpenEMR blog
- OpenEMR Foundation (2019) and first release (2002)Wikipedia, OpenEMR
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.
