Skip to content

Commit

Permalink
Merge pull request #21 from prose-im/fix-local-run-environment
Browse files Browse the repository at this point in the history
fix: Fix `init_admin_password_env_var_name`
  • Loading branch information
valeriansaliou authored Dec 9, 2024
2 parents c5bc477 + 79fe8be commit 7c6cad1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/local/etc/prosody/prosody.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ VirtualHost "admin.prose.org.local"

-- mod_init_admin
init_admin_jid = "[email protected]"
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"
Expand Down
1 change: 1 addition & 0 deletions tools/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c6cad1

Please sign in to comment.