Habitat
★ 163About
Community Ratings
No ratings yetNew this week
Read recap →Features
- local community instances
- location-based discussions
- desktop and mobile web access
- decentralised deployment
Details
- Last Updated
- Nov 19, 2026
- Created
- May 12, 2024
- Install Methods
- docker-composesource
- Requirements
- PostgreSQLDocker ComposeAnsibleSymfonyComposer
- Default Port
- 443web UI over HTTPS
- Runtime / Stack
- Docker
- Privacy & Independence
- No TelemetryNo Cloud Required
- User Model
- Multi-UserMulti-Tenant
- Deployment
Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers
Run Habitat yourself
Pick how much you want to manage.
HostingerSponsored
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
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
2 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run Habitat with Docker Compose
Compose file from the Habitat project repository.
2 services
no resource limits declared
needs persistent storage (3 volumes)
compose.prod.yaml · @ 9952051 · scanned Nov 3, 2026
---
# TODO: Put this into the Github CI
#
# NOTE: Ensure you have ran npm run build first -- otherwise, if you've ran watch the js/css won't be compressed
#
# npm run build
#
# docker system prune -a --volumes
# docker compose -f compose.yaml -f compose.prod.yaml build --pull --no-cache
#
# # Test the image only:
# docker compose -f compose.yaml -f compose.prod.yaml up
#
# docker tag carlnewton/habitat carlnewton/habitat:develop
# docker push carlnewton/habitat:develop
#
# docker tag carlnewton/habitat carlnewton/habitat:1.2.3-rc1
# docker push carlnewton/habitat:1.2.3-rc1
#
# docker tag carlnewton/habitat carlnewton/habitat:1.2.3
# docker push carlnewton/habitat:1.2.3
#
# docker tag carlnewton/habitat carlnewton/habitat:latest
# docker push carlnewton/habitat:latest
services:
habitat-app:
build:
context: .
target: frankenphp_prod
image: carlnewton/habitat
environment:
MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET}
MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET}
habitat-worker:
extends:
file: compose.yaml
service: habitat-worker
image: ${IMAGES_PREFIX:-}app-php-worker
build:
context: .
target: frankenphp_prod
command: ['bin/console', 'messenger:consume', '-vv', '--time-limit=600', '--limit=10', '--memory-limit=128M']
volumes:
- ./:/app
- /app/var/
- habitat_uploads:/uploads
depends_on:
habitat-app:
condition: service_healthy
This file may be out of date. Check the Habitat documentation for current setup steps.
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.