
Deploy HumHub on Your Own Server
A open source social media network
Want to deploy HumHub on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is HumHub?
HumHub is an open source social network GitHub: https://github.com/humhub/humhub
Self-Host HumHub
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Deploy
Copy the configuration and run it on your server.
services:
humhub:
image: mriedmann/humhub:1.6.2
environment:
HUMHUB_AUTO_INSTALL: "false"
HUMHUB_DB_HOST: humhub-db
HUMHUB_DB_NAME: humhub
HUMHUB_DB_PASSWORD: 40f0e2728891a30c
HUMHUB_DB_USER: humhub
HUMHUB_HOST: humhub.your-domain.com
HUMHUB_PROTO: https
volumes:
- humhub-config:/var/www/localhost/htdocs/protected/config
- humhub-uploads:/var/www/localhost/htdocs/uploads
- humhub-modules:/var/www/localhost/htdocs/protected/modules
humhub-db:
image: mysql:5.7
environment:
MYSQL_DATABASE: humhub
MYSQL_PASSWORD: 40f0e2728891a30c
MYSQL_ROOT_PASSWORD: 9166768cf9856aa4
MYSQL_USER: humhub
volumes:
- humhub-db-data:/var/lib/mysql/
volumes:
humhub-config: {}
humhub-uploads: {}
humhub-modules: {}
humhub-db-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:80
Why Self-Host HumHub?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
mriedmann/humhub:${humhub_version}Official Docs
github.comWant to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"