Skip to content
Snippets Groups Projects
Commit 2b756879 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Merge branch 'store-secrets' into 'master'

Just store the secrets in app.yml

This reflects what I ended up doing on forum.gitlab.com.

See merge request !1
parents bbbddcfe f4a2e426
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -28,12 +28,10 @@ Discourse plugin for the omniauth-gitlab strategy.
1. Rebuild the container by providing the APP_ID, SECRET and GitLab url values:
 
```
cd /var/discourse
git pull origin master
GITLAB_APP_ID=gitlabtestid GITLAB_SECRET=gitlabtestsecret GITLAB_URL=https://git.example.com ./launcher rebuild app
chmod 600 /var/discourse/containers/app.yml
```
 
Otherwise you can add these variables in `/var/discourse/containers/app.yml` under the `env` section:
Add these variables in `/var/discourse/containers/app.yml` under the `env` section:
 
```
## GitLab OmniAuth settings
Loading
Loading
@@ -42,6 +40,14 @@ Discourse plugin for the omniauth-gitlab strategy.
GITLAB_URL: https://gitlab.example.com
```
 
Now rebuild the app:
```
cd /var/discourse
git pull origin master
./launcher rebuild app
```
## License
 
MIT, see [LICENSE](./LICENSE).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment