config.docker.lua

changeset 161
c4df517edbc1
parent 158
57ee70718ecc
equal deleted inserted replaced
160:eb5a04a9877a 161:c4df517edbc1
12 jid = os.getenv "RIDDIM_JID" or "bot@localhost" 12 jid = os.getenv "RIDDIM_JID" or "bot@localhost"
13 password = os.getenv "RIDDIM_PASSWORD" or "password" 13 password = os.getenv "RIDDIM_PASSWORD" or "password"
14 nick = os.getenv "RIDDIM_NICK" or "riddim" 14 nick = os.getenv "RIDDIM_NICK" or "riddim"
15 autojoin = split(os.getenv "RIDDIM_ROOMS") 15 autojoin = split(os.getenv "RIDDIM_ROOMS")
16 plugins = split(os.getenv "RIDDIM_PLUGINS" or "groupchat, commands") 16 plugins = split(os.getenv "RIDDIM_PLUGINS" or "groupchat, commands")
17 debug = os.getenv "RIDDIM_DEBUG" or true 17 debug = (os.getenv "RIDDIM_DEBUG" == "1") and true
18 connect_port = os.getenv "RIDDIM_CONNECT_PORT" or nil 18 connect_port = os.getenv "RIDDIM_CONNECT_PORT" or nil
19 connect_host = os.getenv "RIDDIM_CONNECT_HOST" or nil 19 connect_host = os.getenv "RIDDIM_CONNECT_HOST" or nil
20 command_prefix = os.getenv "RIDDIM_COMMAND_PREFIX" or "-" 20 command_prefix = os.getenv "RIDDIM_COMMAND_PREFIX" or "-"

mercurial