parent
4dc156ad14
commit
49cfa956ed
28
README.md
28
README.md
|
@ -1,4 +1,4 @@
|
|||
# Rocketchat
|
||||
# Rocket.chat
|
||||
|
||||
[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/rocketchat/status.svg)](https://drone.autonomic.zone/coop-cloud/rocketchat)
|
||||
|
||||
|
@ -19,32 +19,26 @@
|
|||
|
||||
1. Set up Docker Swarm and [`abra`]
|
||||
2. Deploy [`coop-cloud/traefik`]
|
||||
3. `cp .envrc.sample .envrc`
|
||||
4. Edit `.envrc` - be sure to change `$DOMAIN` to something that resolves to
|
||||
3. `abra app new adaptauthoring --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. `direnv allow` (or `. .envrc`)
|
||||
6. Generate secrets:
|
||||
```
|
||||
abra secret_generate db_password v1
|
||||
abra secret_generate admin_password v1
|
||||
```
|
||||
7. `abra deploy`
|
||||
5. `abra app YOURAPPDOMAIN deploy`
|
||||
9. Open the configured domain in your browser to finish set-up
|
||||
|
||||
## Keycloak OpenID single sign-on
|
||||
|
||||
(Or use Rocket.Chat's [manual set-up guide](https://docs.rocket.chat/guides/administrator-guides/authentication/open-id-connect/keycloak))
|
||||
|
||||
1. Edit `.envrc`; uncomment and edit all the Accounts_OAuth lines, and the
|
||||
`COMPOSE_FILE` line
|
||||
2. `direnv allow` (or `source .envrc`)
|
||||
3. Insert the OpenID secret into Docker: (FIXME add option for this to `abra`)
|
||||
1. `abra app YOURAPPDOMAIN config`; uncomment and edit all the Accounts_OAuth
|
||||
lines, and the `COMPOSE_FILE` line
|
||||
3. Insert the OpenID secret into Docker: (FIXME document how to do this using `abra`)
|
||||
```
|
||||
echo "your-secret-string-from-keycloak" | docker secret create "${STACK_NAME}_openid_key_${VERSION}" -
|
||||
```
|
||||
4. `abra deploy`
|
||||
5. `abra app YOURAPPDOMAIN deploy`
|
||||
5. You should now have a "Login via Keycloak" option on the login page
|
||||
|
||||
[Rocket.chat]: https://rocket.chat
|
||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
||||
[abra]: https://git.autonomic.zone/coop-cloud/abra
|
||||
[cc-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
||||
|
|
Loading…
Reference in New Issue