selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Answer logo

Self-host Answer

v2.0.3

Open-source Q&A forum and help center for teams

ReleaseOpen SourceApache-2.0
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest
Updatedlast month
LanguageGo
Setup difficultyEasy
MobileResponsive
ThemeDark mode
Stars
15 713
Port
80 (HTTP port Answer listens on (config.yaml server.http.addr 0.0.0.0:80, INSTALL_PORT default); the Docker/Compose examples publish it as host port 9080)
Docker
apache/answer
Answer question list as shown in the documentation introductionAnswers page on a desktop browserUser profile page on a desktop browserQuestion list on a mobile screen

What is Answer?

Apache Answer is a question-and-answer platform you run on your own server to build a community forum, a help center or an internal knowledge base for a team of any size. Questions and answers are written in Markdown with side-by-side live preview, organised through tags, and ranked by voting and a reputation system that unlocks privileges. Moderation is built in: admin, moderator and user roles, bulk user creation, open editing with transparent revision history, flags and review workflows, plus controls over registration, login methods, allowed email domains and content visibility. Community translation packs make it multilingual, the layout adapts to phones, and a dark mode is included. Functionality extends through a plugin system covering third-party login, notification services, spam review, cache, search engines, storage and editors. You install it with Docker Compose, a single Docker command, or a downloaded Go binary (answer init then answer run), backed by SQLite, MySQL or PostgreSQL; the web UI is served on port 80 in the container, published as 9080 in the examples.

Should you self-host Answer?

Answer scores 71/100 on selfhost.directory (how scoring works) and ranks #5 of 75 in Social Networks & Forums. It has 15 713 GitHub stars, +21 in the last 30 days.

It shipped 5 stable releases in the past year. The latest, v2.0.3, came out on 22 September 2026. New versions land roughly every 2 months.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Mastodon (84/100, 50 587 stars). It scores higher overall, so compare the two before you pick. See Answer vs Mastodon side by side.

Features

  • Advanced search
  • Bulk user creation
  • Content access control
  • Markdown editor with live preview
  • Multilingual interface
  • Notifications
  • Plugin System
  • Question and answer threads
  • Reputation system
  • REST API
  • Revision History
  • Role-based Access Control
  • Tagging System
  • Themes and layout customization
  • Voting System

Answer README

logo

Apache Answer - Build Q&A platform

A Q&A platform software for teams at any scales. Whether it’s a community forum, help center, or knowledge management platform, you can always count on Answer.

To learn more about the project, visit answer.apache.org.

How to install Answer

Install Answer with Docker

Environment variables
INSTALL_PORT, AUTO_INSTALL
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest

Then open http://localhost:9080/install to finish installation.

How to configure Answer

  • INSTALL_PORT80Port to boot on during installation.
  • AUTO_INSTALLIf set to true, installation completes automatically from environment variables.

    values: true / false

  • DB_TYPEDatabase type used for auto install.

    values: sqlite3, mysql, postgres

  • DB_USERNAMEDatabase username.
  • DB_PASSWORDDatabase password.

Answer releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What are the currently supported database types? Is migration supported?

MySQL, PostgreSQL and SQLite3 are supported, but data migration between them is not. The docs suggest SQLite for a first try and MySQL for real use.

How do I switch the default language?

The site-wide language is changed in Admin -> Settings -> Interface, while each user can pick their own language in their Settings -> Interface.

Why can't I receive the registration email?

Set up your own SMTP server under Admin -> Settings -> SMTP.

How do I access the installation page?

Open http://localhost:9080/install in your browser to reach the installation wizard.

More in Social Networks & Forums

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…