config.docker.lua: Expose more settings as environment variables

Tue, 22 Sep 2020 14:51:42 +0200

author
Seve Ferrer <seve@delape.net>
date
Tue, 22 Sep 2020 14:51:42 +0200
changeset 158
57ee70718ecc
parent 157
6fb39f738dd2
child 159
7ca948b157df

config.docker.lua: Expose more settings as environment variables

config.docker.lua file | annotate | diff | comparison | revisions
--- a/config.docker.lua	Fri Aug 07 13:16:33 2020 +0100
+++ b/config.docker.lua	Tue Sep 22 14:51:42 2020 +0200
@@ -12,8 +12,9 @@
 jid = os.getenv "RIDDIM_JID" or "bot@localhost"
 password = os.getenv "RIDDIM_PASSWORD" or "password"
 nick = os.getenv "RIDDIM_NICK" or "riddim"
-
 autojoin = split(os.getenv "RIDDIM_ROOMS")
-
 plugins = split(os.getenv "RIDDIM_PLUGINS" or "groupchat, commands")
-debug = true
+debug = os.getenv "RIDDIM_DEBUG" or true
+connect_port = os.getenv "RIDDIM_CONNECT_PORT" or nil
+connect_host = os.getenv "RIDDIM_CONNECT_HOST" or nil
+command_prefix = os.getenv "RIDDIM_COMMAND_PREFIX" or "-"

mercurial