Apache Answer

container Social / Wiki

Question-and-answer site for a community, product forum or team knowledge base, with voting, accepted answers, tags, reputation and badges.

Install Apache Answer

It isn't in the main Portainer Templates list yet, so use this one. Portainer takes one URL at a time, so it swaps out whatever list you had before.

In Portainer, head to Settings --> App Templates, paste this in as the URL and save.

https://raw.githubusercontent.com/NotAFlightRisk/portainer-templates-extras/main/templates.json
  1. Open App Templates and pick Apache Answer.
  2. The form works as it comes, so change only what you want to.
  3. Hit Deploy the container, then open http://<your-server>:9080 in a browser.

Before you start

Open http://<your-host>:9080 from the address you'll actually use, since the setup wizard saves it as the Site URL that links and uploads are built from. On the database step pick SQLite (it defaults to MySQL, which isn't there) and leave the file as /data/answer.db. The last step creates the admin, and whoever reaches the wizard first gets to, so do it straight away. Sign-ups stay open but need email verification, so new accounts can't post until you set up Admin --> Advanced --> SMTP, or close them under Advanced --> Login. The database, config and uploads all live in the volume. Docs: answer.apache.org/docs

Settings

What the Portainer form asks for. With compose they go in the environment block instead.

VariableWhat it's forDefault
TZTimezone Like Europe/London. The site starts on it, and you can change it later in the admin. UTC

Ports and storage

Change the left side of a port if it clashes with something else on your server. The volumes are where the data lives, so keep them when you update.

On your serverIn the container
908080/tcp
apache-answer-data/data

More apps