diff --git a/server/local/etc/prosody/prosody.cfg.lua b/server/local/etc/prosody/prosody.cfg.lua index 5a304ef..4fb5130 100644 --- a/server/local/etc/prosody/prosody.cfg.lua +++ b/server/local/etc/prosody/prosody.cfg.lua @@ -121,7 +121,7 @@ VirtualHost "admin.prose.org.local" -- mod_init_admin init_admin_jid = "prose-pod-api@admin.prose.org.local" - init_admin_password_env_var_name = "PROSE_API__ADMIN_PASSWORD" + init_admin_password_env_var_name = "PROSE_BOOTSTRAP__PROSE_POD_API_XMPP_PASSWORD" Component "groups.prose.org.local" "muc" name = "Chatrooms" diff --git a/tools/bootstrap b/tools/bootstrap index 9505aad..6f46e71 100755 --- a/tools/bootstrap +++ b/tools/bootstrap @@ -24,6 +24,7 @@ if [ -d "$ABSPATH/server/$environment" ]; then -p 5222:5222 \ -p 5269:5269 \ -p 5280:5280 \ + -e PROSE_BOOTSTRAP__PROSE_POD_API_XMPP_PASSWORD="${PROSE_BOOTSTRAP__PROSE_POD_API_XMPP_PASSWORD:?}" \ -v "$ABSPATH/server/$environment/etc/prosody/:/etc/prosody/" \ -v "$ABSPATH/server/$environment/var/lib/prosody/:/var/lib/prosody/" \ proseim/prose-pod-server