2021-07-25 12:45:30 +00:00
|
|
|
# Discourse
|
2021-07-25 11:52:51 +00:00
|
|
|
|
2021-07-25 13:34:54 +00:00
|
|
|
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/discourse/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/coop-cloud/discourse)
|
|
|
|
|
2021-07-25 12:45:30 +00:00
|
|
|
A platform for community discussion
|
2021-07-25 11:52:51 +00:00
|
|
|
|
|
|
|
<!-- metadata -->
|
2021-07-25 12:45:30 +00:00
|
|
|
* **Category**: Apps
|
2021-07-25 11:52:51 +00:00
|
|
|
* **Status**:
|
2021-07-25 12:45:30 +00:00
|
|
|
* **Image**: [`bitnami/discourse`](https://hub.docker.com/r/bitname/discourse)
|
|
|
|
* **Healthcheck**: yes
|
|
|
|
* **Backups**: no
|
|
|
|
* **Email**: yes
|
|
|
|
* **Tests**: no
|
|
|
|
* **SSO**: no
|
2021-07-25 11:52:51 +00:00
|
|
|
<!-- endmetadata -->
|
|
|
|
|
|
|
|
## Basic usage
|
|
|
|
|
|
|
|
1. Set up Docker Swarm and [`abra`]
|
|
|
|
2. Deploy [`coop-cloud/traefik`]
|
|
|
|
3. `abra app new discourse --secrets` (optionally with `--pass` if you'd like
|
|
|
|
to save secrets in `pass`)
|
|
|
|
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
|
|
|
your Docker swarm box
|
|
|
|
5. `abra app YOURAPPDOMAIN deploy`
|
|
|
|
6. Open the configured domain in your browser to finish set-up
|
|
|
|
|
|
|
|
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
|
|
|
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
2021-11-16 19:10:51 +00:00
|
|
|
|
|
|
|
## To add a new Admin user
|
|
|
|
|
|
|
|
1. Login to the instance `abra app run APPNAME app sh`
|
|
|
|
2. `cd /opt/bitnami/discourse`
|
|
|
|
3. `RAILS_ENV=production bundle exec rake admin:create` and follow prompts.
|
|
|
|
|
|
|
|
## Install plugins
|
|
|
|
|
|
|
|
1. Login to instance `abra app run APPNAME app sh`
|
|
|
|
2. `cd /bitnami/discourse/plugins/`
|
|
|
|
3. `git clone plugingit` for example `https://github.com/discourse/discourse-openid-connect.git`
|
|
|
|
4. `abra app restart APPNAME app`
|
|
|
|
|
|
|
|
## Setup Notes
|
|
|
|
|
|
|
|
Until issue #1 is fixed, the default user is `user` and the default password is `bitnami123`
|