snikket.env.tmpl (934B)
1 # The domain of your Snikket instance 2 SNIKKET_DOMAIN=chat.in0rdr.ch 3 4 # The email address of the primary admin 5 SNIKKET_ADMIN_EMAIL={{with secret "kv/snikket"}}{{index .Data.data.admin_email}}{{end}} 6 7 # Server bind settings 8 # https://github.com/snikket-im/snikket-server/blob/master/Dockerfile 9 SNIKKET_TWEAK_INTERNAL_HTTP_INTERFACE=0.0.0.0 10 SNIKKET_TWEAK_INTERNAL_HTTP_PORT={{ env "NOMAD_PORT_prosody" }} 11 12 # Web portal bind settings 13 # https://github.com/snikket-im/snikket-web-portal/blob/master/Dockerfile 14 SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_INTERFACE=0.0.0.0 15 SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT={{ env "NOMAD_PORT_portal" }} 16 SNIKKET_WEB_PROSODY_ENDPOINT=http://{{ env "NOMAD_ADDR_prosody" }} 17 18 # Proxy ports 19 # https://github.com/snikket-im/snikket-server/blob/master/docs/advanced/reverse_proxy.md 20 #SNIKKET_TWEAK_HTTP_PORT={{ env "NOMAD_PORT_prosody" }} 21 #SNIKKET_TWEAK_HTTPS_PORT={{ env "NOMAD_PORT_proxy" }} 22 23 SNIKKET_LOGLEVEL=debug