Skip to content
Snippets Groups Projects
Commit f4a2e426 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Just store the secrets in app.yml

parent bbbddcfe
No related branches found
No related tags found
1 merge request!1Just store the secrets in app.yml
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