Try describing what you need:

Habitat logo

Habitat

★ 163
GNU Affero General Public License v3.0Open Source — No Paywall2 Containers — 2 containers — light hosting footprintCompose · SourceNo external DB3 active committers (12mo)

About

Habitat is a web platform for local communities. It is designed for people who want to run a community instance for a specific area, where residents can join and discuss local matters. The project...

Community Ratings

No ratings yet

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.

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.

Metadata extracted from README on Jul 20, 2026

Alternatives to Habitat

Friendica logo

Friendica

1.7k
Friendica is a decentralized social networking platform that connects users to the Fediverse and other social services.
Social NetworksSocial MediaSelf Hosting Solutions+1
Details
Misskey logo

Misskey

11.4k
Misskey is an open-source federated social media platform.
Social NetworksSocial MediaSelf Hosting Solutions+2
2 Containers
Details
diaspora* logo

diaspora*

13.7k
diaspora* is a privacy-aware, distributed open source social network.
Social NetworksSocial MediaSelf Hosting Solutions+1
Details
Discourse logo

Discourse

48.2k
An open-source community platform for running discussion forums and real-time chat.
Social NetworksSelf Hosting SolutionsCopyleft License
Details
Flarum logo

Flarum

16.4k
Flarum is a simple, fast, extensible discussion platform for building online communities and forums.
Social NetworksSelf Hosting SolutionsPermissive License
Details
Lemmy logo

Lemmy

14.7k
Lemmy is a self-hostable, decentralized link aggregator and forum for the fediverse.
Social NetworksCopyleft LicenseBookmark Management+2
5 Containers
Details
Socialhome logo

Socialhome

379
Socialhome is a federated personal profile and social networking platform.
Social NetworksCopyleft LicenseSocial Media+1
Details
Movim logo

Movim

2.1k
Movim is a federated blogging and chat platform that serves as a web frontend for the XMPP protocol.
Social NetworksXMPP Web ClientsBlogging Platforms+2
Details
Misago logo

Misago

2.8k
Misago is a modern forum software platform for building feature-rich online communities.
Social NetworksSelf Hosting SolutionsCopyleft License
5 Containers
Details
Mastodon logo

Mastodon

50.7k
Mastodon is a free, open-source social network server based on ActivityPub for publishing posts, media, and interacting across the federated Fediverse.
Social NetworksSocial MediaSelf Hosting Solutions+2
Fully FOSS
Details
NodeBB logo

NodeBB

15.3k
NodeBB is a Node.js-based forum software for real-time discussions, notifications, and community messaging.
Social NetworksSelf Hosting SolutionsCopyleft License
Open Core
Details
epicyon logo

epicyon

43
ActivityPub server, designed for simplicity and accessibility. Includes calendar, news and sharing economy features to empower your federated community.
Social NetworksCalendar and ContactsSocial Media+1
Details

Related Software

Gancio logo

Gancio

70
Local community event and agenda sharing.
Polls and EventsSocial NetworksSelf Hosting Solutions+1
Details
qpixel logo

qpixel

444
Rails-based Q&A software for community-driven sites, powering Codidact.
Social NetworksCopyleft LicenseKnowledge Management+1
Details
Akkoma logo

Akkoma

71
Federated microblogging server with Mastodon, GNU social, and ActivityPub compatibility.
Social NetworksCopyleft LicenseSelf Hosting Solutions
Details
Answer logo

Answer

15.7k
Apache Answer is a Q&A platform for teams that can be used as a community forum, help center, or knowledge management platform.
Social NetworksPermissive LicenseKnowledge Management+1
Details
Iceshrimp.NET logo

Iceshrimp.NET

37
Federated microblogging server that communicates over ActivityPub.
Social NetworksCopyleft LicenseBlogging Platforms+2
Details
Pleroma logo

Pleroma

6
Federated microblogging server, Mastodon, GNU social, & ActivityPub compatible.
Social NetworksCopyleft LicenseSelf Hosting Solutions
Details
Bookwyrm logo

Bookwyrm

2.8k
BookWyrm is a federated social network for tracking reading, posting book reviews, and discovering what to read next.
E-Book ManagementSocial NetworksSocial Media+2
11 ContainersFully FOSS
Details
Stoat logo

Stoat

2.7k
Stoat Self-Hosted provides Docker-based deployment instructions for running a full self-hosted Stoat instance, including backend, web front-end, file server, and proxy services.
Custom CommunicationsSocial NetworksSelf Hosting Solutions+4
Details
Simple Machines Forum logo

Simple Machines Forum

762
Simple Machines Forum is a web-based forum software project for building and running discussion forums.
Social NetworksPermissive LicenseSelf Hosting Solutions
Details