# Self-host Apache Answer

> A Q&A platform for building a community knowledge base, in the style of a self-hosted Stack Overflow.

- Page: https://levelrail.com/templates/answer/
- JSON: https://levelrail.com/templates/answer.json
- Category: Communication
- Licence: Apache-2.0 (Permissive license)
- Source: https://github.com/apache/answer
- Upstream docs: https://answer.apache.org/docs/

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 1.4.2

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| answer | apache/answer | 1.4.2 | 80 | answer_data -> /data |

## Deploy

### CLI

```bash
levelrail-cli templates deploy answer --name my-answer
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/answer/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Apache Answer on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id answer for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image apache/answer:1.4.2 is what you deploy there.

Self-host Apache Answer, Apache Answer docker compose file, deploy Apache Answer on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
