Haven
★ 822A self-hosted alternative to Wordpress Com
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- private blogging
- user accounts
- built-in RSS
- web-based user management
- markdown editing
- live preview
- custom CSS
- custom fonts
- media support
- private RSS feeds
Details
- Last Updated
- Nov 21, 2026
- Created
- Jan 19, 2021
- Install Methods
- dockerdocker-composesource
- Requirements
- Ruby on RailsDockerdocker-compose
- Default Port
- 3000Haven web app
- Runtime / Stack
- Ruby
- Privacy & Independence
- No TelemetryNo Cloud Required
- User Model
- Multi-User
- Theming
- Custom themes
- Deployment
Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers
Run Haven yourself
Pick how much you want to manage.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
2 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run Haven with Docker Compose
Compose file from the Haven project repository.
2 services · database: postgres · infra: postgres
no resource limits declared
needs persistent storage (2 volumes)
docker-compose.yml · @ cb01f41 · scanned Nov 3, 2026
version: '3.7'
services:
haven:
build:
context: .
dockerfile: Dockerfile
depends_on:
- postgresql
ports:
- "3000:3000"
volumes:
- haven_storage:/app/storage
tmpfs:
- /tmp/pids/
environment:
- PIDFILE=/tmp/pids/server.pid
- RAILS_ENV=production
- HAVEN_DB_HOST=postgresql
- HAVEN_DB_NAME=haven
- HAVEN_DB_ROLE=haven
- HAVEN_DB_PASSWORD=supersecretrandomstring
- HAVEN_USER_EMAIL=changeme@havenweb.org
- HAVEN_USER_PASS=ChangeMeN0W
postgresql:
image: postgres:13.2-alpine
ports:
- "5432:5432"
# https://www.postgresql.org/docs/current/static/non-durability.html
command: [
"postgres",
"-c", "max_connections=1000",
"-c", "synchronous_commit=off",
"-c", "fsync=off",
"-c", "full_page_writes=off",
"-c", "max_wal_size=4GB",
"-c", "checkpoint_timeout=30min",
"-c", "wal_level=logical"
]
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: haven
volumes:
- postgresqldata:/var/lib/postgresql/data
volumes:
postgresqldata:
external: false
haven_storage:
external: false
This file may be out of date. Check the Haven documentation for current setup steps.
Tags
Mentions Raspberry Pi in its docs: Self-hosted apps for Raspberry Pi
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.