[int]
This commit is contained in:
parent
3a69c74dcf
commit
8b322c0c2e
4 changed files with 38 additions and 0 deletions
5
ansible/roles/hedgedoc/defaults/main.json
Normal file
5
ansible/roles/hedgedoc/defaults/main.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"var_hedgedoc_session_secret": "session_secret",
|
||||||
|
"var_hedgedoc_database_path": "/var/hedgedoc/data.sqlite",
|
||||||
|
"var_hedgedoc_oauth2_provider_name": "external auth",
|
||||||
|
}
|
3
ansible/roles/hedgedoc/info.md
Normal file
3
ansible/roles/hedgedoc/info.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
## Verweise
|
||||||
|
|
||||||
|
- [Projekt-Website](https://docs.hedgedoc.org/)
|
2
ansible/roles/hedgedoc/tasks/main.json
Normal file
2
ansible/roles/hedgedoc/tasks/main.json
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[
|
||||||
|
]
|
28
ansible/roles/hedgedoc/templates/config.json.j2
Normal file
28
ansible/roles/hedgedoc/templates/config.json.j2
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"development": {
|
||||||
|
"domain": "localhost:3000",
|
||||||
|
"url": {
|
||||||
|
"addport": true
|
||||||
|
},
|
||||||
|
"loglevel": "debug",
|
||||||
|
"sessionSecret": "{{var_hedgedoc_session_secret}}",
|
||||||
|
"db": {
|
||||||
|
"dialect": "sqlite",
|
||||||
|
"storage": "./db.hedgedoc.sqlite"
|
||||||
|
},
|
||||||
|
"urlAddPort": false,
|
||||||
|
"protocolUseSSL": false,
|
||||||
|
"oauth2": {
|
||||||
|
"providerName": "authelia",
|
||||||
|
"clientId": "b45421efcb7b1e5672d9b2bc55b3fdb2b6c62f3a72668110bd38f77fa1242ece",
|
||||||
|
"clientSecret": "e8493098b9a280610a2ba9fa0b49f14035a9f048e8505cf4981f0555a2885655",
|
||||||
|
"scope": "openid email profile",
|
||||||
|
"userProfileUsernameAttr": "sub",
|
||||||
|
"userProfileDisplayNameAttr": "name",
|
||||||
|
"userProfileEmailAttr": "email",
|
||||||
|
"userProfileUrl": "http://authelia.local:9091/api/oidc/userinfo",
|
||||||
|
"tokenUrl": "http://authelia.local:9091/api/oidc/token",
|
||||||
|
"authorizationUrl": "http://authelia.local:9091/api/oidc/authorize"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue