parent
a88b24ed2c
commit
1a80058a2a
@ -1,15 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
echo "Usage: "$0" <username>"
|
echo "Usage: "$0" <username>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
-it \
|
-it \
|
||||||
--rm \
|
--rm \
|
||||||
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql \
|
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql \
|
||||||
--network {{ matrix_docker_network }} \
|
--network {{ matrix_docker_network }} \
|
||||||
{{ matrix_postgres_docker_image_to_use }} \
|
{{ matrix_postgres_docker_image_to_use }} \
|
||||||
psql -h {{ matrix_postgres_connection_hostname }} -c "UPDATE users set admin=1 WHERE name like '@$1:{{ host_specific_hostname_identity }}'"
|
psql -h {{ matrix_postgres_connection_hostname }} -c "UPDATE users set admin=1 WHERE name like '@$1:{{ host_specific_hostname_identity }}'"
|
||||||
|
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"default_hs_url": {{ matrix_riot_web_default_hs_url|to_json }},
|
"default_hs_url": {{ matrix_riot_web_default_hs_url|to_json }},
|
||||||
"default_is_url": {{ matrix_riot_web_default_is_url|to_json }},
|
"default_is_url": {{ matrix_riot_web_default_is_url|to_json }},
|
||||||
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|to_json }},
|
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|to_json }},
|
||||||
"disable_guests": {{ matrix_riot_web_disable_guests|to_json }},
|
"disable_guests": {{ matrix_riot_web_disable_guests|to_json }},
|
||||||
"brand": "Riot",
|
"brand": "Riot",
|
||||||
"integrations_ui_url": {{ matrix_riot_web_integrations_ui_url|to_json }},
|
"integrations_ui_url": {{ matrix_riot_web_integrations_ui_url|to_json }},
|
||||||
"integrations_rest_url": {{ matrix_riot_web_integrations_rest_url|to_json }},
|
"integrations_rest_url": {{ matrix_riot_web_integrations_rest_url|to_json }},
|
||||||
"integrations_widgets_urls": {{ matrix_riot_web_integrations_widgets_urls|to_json }},
|
"integrations_widgets_urls": {{ matrix_riot_web_integrations_widgets_urls|to_json }},
|
||||||
"integrations_jitsi_widget_url": {{ matrix_riot_web_integrations_jitsi_widget_url|to_json }},
|
"integrations_jitsi_widget_url": {{ matrix_riot_web_integrations_jitsi_widget_url|to_json }},
|
||||||
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
|
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
|
||||||
"enableLabs": true,
|
"enableLabs": true,
|
||||||
"roomDirectory": {
|
"roomDirectory": {
|
||||||
"servers": {{ matrix_riot_web_roomdir_servers|to_json }}
|
"servers": {{ matrix_riot_web_roomdir_servers|to_json }}
|
||||||
},
|
},
|
||||||
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }}
|
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue