Self-hosted app·Social networks and the fediverse
HumHub hosting on a Swiss VPS.
HumHub hosting on a Swiss VPS in ALP1: official Docker image, sizing, compose file, backups and costs.
- HumHub
- PHP
- MariaDB
- Docker
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.
Yes, HumHub runs on our Cloud VPS in ALP1, and for a network people use every day we recommend VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer for $22.99 a month. You install it yourself from the official humhub/humhub Docker image, which already contains the web server with automatic HTTPS, the cron scheduler and the queue workers, so the whole stack is one compose file and a DNS record. Plan size is rarely what decides whether the installation is still healthy two years later. Pinning the image to a version line does, and so do backups that leave the server, and the understanding that the members' data is yours to answer for under Swiss law, not ours.
02/06
What HumHub is and who runs it.
HumHub is open-source software for private social networks and intranets, written in PHP on the Yii 2 framework. Members post into Spaces, which are groups with their own stream, membership and permissions; around that core sit profiles, mentions, notifications and a marketplace of modules for calendars, wikis, file folders and a REST API. The project is developed by HumHub GmbH & Co. KG in Germany, which was spun out of a Munich web agency in 2015. The Community Edition is AGPL-licensed with no user cap. HumHub also sells a Professional Edition under a commercial licence, directly; we are not part of that contract.
The people who self-host it are mostly organisations that want an internal network without handing member or staff data to a US platform: a Verein with a few hundred members, a company intranet spanning an office in Basel and a site across the border, a parents' network, a housing cooperative. The defaults fit that use. Registration can be invitation-only or held for admin approval, and a Space can be invisible to anyone who is not a member.
The current release line is 1.19, published in October 2026. It runs on PHP 8.2 to 8.5 (the Docker image brings its own) and needs at least MariaDB 10.11 or MySQL 8.0, with MariaDB 11.8 recommended. 1.19 also rebuilt the storage layer so that uploads and assets can live on S3-compatible object storage, which widens the backup options described further down.
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.
HumHub publishes small minimums: 64 MB of PHP memory per process, 100 MB for the database and about 2 GB of disk for the Docker image. Read as a server size, they mislead. The container runs the web server, the scheduler and by default two queue workers side by side, each one a separate PHP process. Resizing uploaded images is the heaviest routine job, and MariaDB only stays quick while its working set fits in the InnoDB buffer pool, which defaults to 128 MB. Uploads are what fill the disk; HumHub's own documentation says a well-used installation easily grows past 10 GB.
| Plan | vCPU / RAM / NVMe | Transfer / port | Price per month | For HumHub |
|---|---|---|---|---|
| Starter | 2 / 2 GB / 80 GB | 10 TB / 1 Gbps | $6.99 | Evaluation only; PHP and MariaDB compete for memory |
| Standard | 4 / 4 GB / 160 GB | 15 TB / 1 Gbps | $12.99 | A pilot or a small club |
| Pro | 6 / 8 GB / 320 GB | 20 TB / 1 Gbps | $22.99 | Our recommendation for production |
| Power | 12 / 16 GB / 640 GB | 40 TB / 2 Gbps | $42.99 | Large networks, or a document server on the same machine |
We recommend Pro because 8 GB lets you give MariaDB a 2 GB buffer pool and still leave several gigabytes for PHP processes, image work and the kernel's page cache, and because 320 GB of NVMe postpones any discussion about where uploads should go.
Transfer rarely limits a private network, but VPS traffic is counted against the plan's monthly allowance rather than unmetered, so it is worth one calculation. A theoretical example: 300 active members each loading 40 MB a day of pages, avatars and attached images comes to about 360 GB a month, under 2 % of the 20 TB included with Pro. Video changes the arithmetic quickly, since a single 200 MB clip watched by those 300 members is 60 GB on its own.
The firewall needs TCP 80 and 443 (80 for the certificate challenge and the HTTP redirect), UDP 443 if you want HTTP/3, and SSH. The database should never be reachable from outside. Docker writes its own iptables rules, and a port published in a compose file bypasses ufw entirely; that is why the database service below uses expose and not ports.
04/06
How to deploy it with us.
Order VPS Pro with Debian 13. While it provisions, create a DNS A record for the hostname you will use (here social.example.com) pointing at the server's IPv4 address. The built-in Caddy server requests a TLS certificate on first start and fails if the name does not resolve yet.
HumHub requires Docker 20.10.13 or later with Compose v2. Install both from Docker's own repository, which supports Debian 13:
apt update && apt install -y ca-certificates curl openssl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-pluginThen create the project directory and a secrets file that never goes into version control:
mkdir -p /opt/humhub && cd /opt/humhub
printf 'DB_PASSWORD=%s\nDB_ROOT_PASSWORD=%s\n' "$(openssl rand -hex 24)" "$(openssl rand -hex 24)" > .env
chmod 600 .envOur compose.yml follows HumHub's documented example with four changes. The image is pinned to the 1.19 line instead of stable, because stable can carry a live site across a major upgrade on an unattended docker compose pull. HumHub connects as a dedicated database user rather than as root. MariaDB is pinned to 11.8 and given a 2 GB buffer pool. The backup service from HumHub's Docker repository is included.
services:
humhub:
image: humhub/humhub:1.19
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
depends_on:
db:
condition: service_healthy
volumes:
- ./humhub-data:/data
environment:
- SERVER_NAME=https://social.example.com
- HUMHUB_CONFIG__COMPONENTS__DB__DSN=mysql:host=db;dbname=humhub
- HUMHUB_CONFIG__COMPONENTS__DB__USERNAME=humhub
- HUMHUB_CONFIG__COMPONENTS__DB__PASSWORD=${DB_PASSWORD}
db:
image: mariadb:11.8
restart: unless-stopped
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
- --innodb-buffer-pool-size=2G
volumes:
- ./mysql-data:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
- MARIADB_DATABASE=humhub
- MARIADB_USER=humhub
- MARIADB_PASSWORD=${DB_PASSWORD}
expose:
- "3306"
healthcheck:
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
backup:
extends:
service: humhub
profiles: ["manual"]
restart: "no"
command: /app/bin/humhub-backup.sh
user: root
volumes:
- ./humhub-backup:/backup
environment:
- HUMHUB_DOCKER__BACKUP_MERGE_ARCHIVES=trueStart it with docker compose up -d, open https://social.example.com and complete the installer. Afterwards, Administration → Information → Prerequisites should show every check green.
Mail needs a decision on the first day. The container ships no local MTA, and since 1.19 the PHP mail() transport is no longer offered under Docker, so HumHub has to be given an SMTP server; the 1.19 installer has a mail step with a test button for exactly that. Outbound port 25 is open on every VPS, which makes running your own mail server possible, but a fresh IP without SPF, DKIM and a matching reverse DNS record ends up in spam folders.
Updates within the pinned line are docker compose pull && docker compose up -d. Moving to the next minor version means editing the tag, after a backup and after reading the release notes. Anyone coming from 1.18 should read the 1.19 notes twice: the upgrade rewrites the whole activity table, cannot be reverted and permanently drops activity entries it cannot match to existing content.
The backup service writes one tar archive per run, holding a gzipped SQL dump and the data directory. It does no rotation, which leaves retention to you. A nightly run, an off-site copy to an S3-compatible bucket with restic and a local clean-up cover it; /root/restic.env exports RESTIC_REPOSITORY, RESTIC_PASSWORD and the bucket's access keys.
# /etc/cron.d/humhub-backup
0 4 * * * root cd /opt/humhub && docker compose run --rm backup >> /var/log/humhub_backup.log 2>&1
30 4 * * * root . /root/restic.env && restic backup /opt/humhub/humhub-backup && find /opt/humhub/humhub-backup -name 'humhub_backup_*.tar' -mtime +3 -deleteOn a single server we would keep the uploads on the local NVMe and use object storage for backups only. Mounting HumHub's data directory on a bucket, which 1.19 now supports, pays off when you run several web nodes or outgrow the disk. MariaDB's directory never belongs on a bucket, through rclone mount or otherwise.
05/06
Cost.
| Item | Per month |
|---|---|
| VPS Pro (6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer) | $22.99 |
| Daily backups option (+20 %) | $4.60 |
| Object storage, 250 GB bucket for off-site archives | $1.99 |
| Total, theoretical | $29.58 |
The HumHub Community Edition costs nothing in licence fees. With yearly billing (about −25 %) VPS Pro alone comes to $206.99 a year, or $17.25 a month; that is a theoretical calculation, and the panel shows the exact figure. Priority support at $10 a month and an extra IPv4 at $2 a month exist, and a single HumHub instance needs neither. The full list is on our pricing page.
Payment is in 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, 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. As a theoretical example, a $250 top-up becomes a $287.50 balance, about twelve and a half months of VPS Pro at the monthly rate. Business customers paying in crypto are accepted, so a company can order its intranet server in its own name.
What you buy is the VPS, its transfer allowance and our network. HumHub itself, its modules and its updates remain yours to run; we do not patch the application. HumHub ships security fixes in maintenance releases often (1.18.1 and 1.18.5 both carried them in 2026), so following the release feed is part of operating it.
06/06
Jurisdiction, limits and your obligations.
ALP1 is in the Swiss Alps, and the contract is with Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). Our offshore hosting page covers the jurisdiction in more detail; for HumHub four points matter.
The revised Federal Act on Data Protection has applied since 1 September 2023, and as the operator of the network you are the controller of your members' data: the privacy notice, access requests, retention periods and the deletion of departed members fall to you. The European Commission confirmed on 15 January 2024 that Switzerland still provides an adequate level of protection, so members in Germany, France or Italy can be served from ALP1 without additional transfer safeguards. If you connect a US single sign-on or mail provider, Switzerland has recognised companies certified under the Swiss-U.S. Data Privacy Framework as adequate since 15 September 2024; such providers remain subject to US law for the data they handle.
On foreign access, the US Department of Justice listed CLOUD Act executive agreements only with the United Kingdom and Australia as of 31 October 2026, none with Switzerland. That limits one route to the data; it does not put the server beyond Swiss court orders or mutual legal assistance. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) consulted on in January 2025 was not in force on 31 October 2026, and the Federal Council has announced a second consultation.
On content, 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 content is manifestly unlawful, following the Swico Code of Conduct Hosting 2025. Since 1 April 2020, copyright law (CopA art. 39d) requires a host to prevent a work from being made 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. Downloading for private use is lawful in Switzerland, software excepted; making a work available online without permission is not, and a film uploaded into a Space with hundreds of members is making it available.
Not allowed on the VPS: spam (an open port 25 is not a licence to send it), phishing, malware distribution and unlawful content. Moderation of your network is your job. An instance with open self-registration attracts spam accounts within days, so use invitation-only sign-up or admin approval and keep the registration captcha switched on. Ordering is no-KYC: an email address is enough, and none of the obligations above change because of it.
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.
Can I run HumHub on the VPS without Docker?
Yes. HumHub documents a classic installation with Apache or nginx, PHP-FPM 8.2 or later and MariaDB on Debian. You then own the cron jobs, the queue workers, TLS renewal and PHP updates yourself. HumHub now calls the Docker image its recommended installation method, and we agree.
Is VPS Standard enough for HumHub?
For a pilot or a club of a few dozen active members, probably. For production we recommend Pro, mainly for database memory. If you start on Standard, plan the move as a restore: take a backup with the backup service, deploy a fresh Pro instance with the same .env and compose file, and follow HumHub's documented restore procedure.
How does HumHub send email from a Docker install?
Through SMTP only. The image contains no local mail server, and since 1.19 the PHP mail() transport is hidden under Docker. Configure an SMTP account in the installer's mail step and use its test button before inviting anyone.
Can uploads go to your object storage?
Yes, as of HumHub 1.19, which can mount its data and asset directories on S3-compatible storage; our buckets are S3-compatible and billed by size only, with no request fees. For one server we would still start with uploads on the local disk and the buckets for backups.
Should file sharing run in HumHub or in a separate tool?
HumHub's file module handles documents attached to discussions well. For networks that outgrow a VPS, our dedicated servers start with Rigi at $64.99 a month.
Where is the data, and how do I reach you?
On the VPS in ALP1, in the Swiss Alps, operated by Hosta AG in Riehen. Support runs through tickets opened from the client panel.
Sources
Every fact on this page, with its source
Consulted 4 Nov 2026 unless noted.
Swiss law and authorities
- Federal Act on Data Protection (FADP), in force since 1 September 2023fedlex.admin.ch
- Federal Office of Justice, recognition of the Swiss-U.S. Data Privacy Framework from 15 September 2024bj.admin.ch
- admin.ch, status of the VÜPF/OSCPT revision (consultation of 29 January 2025; not in force as of 31 October 2026)admin.ch
- Copyright Act (CopA) art. 39d, in force since 1 April 2020 (RO 2020 1003)fedlex.admin.ch · verified 31 Oct 2026
- Swiss Federal Institute of Intellectual Property, copyright on the internet (private-use downloads, making available)ige.ch
EU and other countries
Industry, providers and software
- HumHub on GitHub, releases 1.18.1 (2 March 2026) and 1.18.5 (19 August 2026, security fixes) and 1.19.0-beta.2 (19 August 2026; installer mail step, php mail transport removed under Docker)github.com
- humhub/docker, Backup and Restore (backup service, archive contents, no built-in retention)github.com
- Docker Docs, Install Docker Engine on Debian (Debian 13 support, apt repository, ufw bypass warning)docs.docker.com
Other references
- HumHub Documentation, System Requirements (PHP matrix, database minimums, memory and disk figures)docs.humhub.org
- HumHub Documentation, Docker Installation (official image, bundled scheduler, workers and Mercure, /data volume, version pinning, memory per PHP process)docs.humhub.org
- HumHub Documentation, HumHub 1.19 release notes (October 2026; S3 storage, irreversible activity-table migration)docs.humhub.org
- Installatron update feed, HumHub 1.19.0 (stable 1.19.0 available)installatron.com
- Wikipedia, HumHub (developer, 2015 spin-off, licensing)en.wikipedia.org
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.
