1
0
Fork 0
forked from mirror/prosody

Add PROSODY_ADMINS to specify who is an administrator. Fixes #7

This commit is contained in:
Sara Aimée Smiseth 2020-06-26 17:34:24 +02:00
parent 20b7d7258d
commit 2500028412
4 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,7 @@
* Add badges to README. Fixes #5. * Add badges to README. Fixes #5.
* Update readme. Fixes #2 * Update readme. Fixes #2
* Add PROSODY_ADMINS to specify who is an administrator. Fixes #7
## v1.0.0 ## v1.0.0

View file

@ -24,5 +24,6 @@ export LOG_LEVEL=${LOG_LEVEL:-"info"}
export C2S_REQUIRE_ENCRYPTION=${C2S_REQUIRE_ENCRYPTION:-true} export C2S_REQUIRE_ENCRYPTION=${C2S_REQUIRE_ENCRYPTION:-true}
export S2S_REQUIRE_ENCRYPTION=${S2S_REQUIRE_ENCRYPTION:-true} export S2S_REQUIRE_ENCRYPTION=${S2S_REQUIRE_ENCRYPTION:-true}
export S2S_SECURE_AUTH=${S2S_SECURE_AUTH:-true} export S2S_SECURE_AUTH=${S2S_SECURE_AUTH:-true}
export PROSODY_ADMINS=${PROSODY_ADMINS:-""}
exec "$@" exec "$@"

View file

@ -1,7 +1,7 @@
-- see example config at https://hg.prosody.im/0.9/file/0.9.10/prosody.cfg.lua.dist -- see example config at https://hg.prosody.im/0.9/file/0.9.10/prosody.cfg.lua.dist
-- easily extendable by putting into different config files within conf.d folder -- easily extendable by putting into different config files within conf.d folder
admins = {}; admins = { os.getenv("PROSODY_ADMINS") };
use_libevent = true; -- improves performance use_libevent = true; -- improves performance

View file

@ -197,6 +197,7 @@ Inspect logs: ```docker-compose logs -f```.
| **C2S_REQUIRE_ENCRYPTION** | Whether to force all client-to-server connections to be encrypted or not | *optional* | true | | **C2S_REQUIRE_ENCRYPTION** | Whether to force all client-to-server connections to be encrypted or not | *optional* | true |
| **S2S_REQUIRE_ENCRYPTION** | Whether to force all server-to-server connections to be encrypted or not | *optional* | true | | **S2S_REQUIRE_ENCRYPTION** | Whether to force all server-to-server connections to be encrypted or not | *optional* | true |
| **S2S_SECURE_AUTH** | Require encryption and certificate authentication | *optional* | true | | **S2S_SECURE_AUTH** | Require encryption and certificate authentication | *optional* | true |
| **PROSODY_ADMINS** | Specify who is an administrator. List of adresses. Eg. "me@example.com", "admin@example.net" | *optional* | "" |
#### DNS #### DNS