Compare commits
1
Commits
rolling_33
...
kc_stable
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0f204a0c9
|
@@ -94,7 +94,13 @@ install_collabora() {
|
|||||||
install_whiteboard() {
|
install_whiteboard() {
|
||||||
install_apps whiteboard
|
install_apps whiteboard
|
||||||
set_app_config whiteboard collabBackendUrl "https://${DOMAIN}/whiteboard"
|
set_app_config whiteboard collabBackendUrl "https://${DOMAIN}/whiteboard"
|
||||||
set_app_config whiteboard jwt_secret_key "$(cat /run/secrets/whiteboard_jwt)"
|
printf '{"apps":{"whiteboard":{"jwt_secret_key":"%s"}}}' "$(cat /run/secrets/whiteboard_jwt)" >/tmp/whiteboard.json
|
||||||
|
run_occ "config:import /tmp/whiteboard.json"
|
||||||
|
rm -f /tmp/whiteboard.json
|
||||||
|
[ -n "$(run_occ 'config:app:get whiteboard jwt_secret_key')" ] || {
|
||||||
|
echo "whiteboard jwt_secret_key was not stored" >&2
|
||||||
|
return 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user