Skip to content

Commit 1816248

Browse files
committed
Add more configuration variables
1 parent 00f85a2 commit 1816248

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

docker-compose.yml

+28-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,26 @@
100100
# TTN_DASHBOARD_MAIL_HOST_NAME
101101
# The mail hostname.
102102
#
103+
# TTN_MAIL_RELAY_NETWORKS
104+
# The relay networks. MUST start with ":"
105+
# e.g :192.168.0.0/24 or :192.168.0.0/24:10.0.0.0/16.
106+
#
107+
# TTN_SMARTHOST_ADDRESS
108+
# The smarthost address.
109+
#
110+
# TTN_SMARTHOST_PORT
111+
# The smarthost port.
112+
#
113+
# TTN_SMARTHOST_USER
114+
# The smarthost username.
115+
#
116+
# TTN_SMARTHOST_PASSWORD
117+
# The smarthost user password.
118+
#
119+
# TTN_SMARTHOST_ALIASES
120+
# A list of aliases to puth auth data for authentication, semicolon separated.
121+
# e.g. TTN_SMARTHOST_ALIASES=*.mysmtp.com
122+
#
103123
# TTN_DASHBOARD_PORT_HTTP
104124
# The port to listen to for HTTP. Primarily for test purposes. Defaults to
105125
# 80.
@@ -187,10 +207,17 @@ services:
187207

188208
smtp:
189209
restart: unless-stopped
190-
# https://hub.docker.com/r/namshi/smtp
210+
# Documentation: https://hub.docker.com/r/namshi/smtp
191211
image: namshi/smtp
192212
environment:
213+
TZ: "${TTN_DASHBOARD_TIMEZONE:-GMT}"
193214
MAILNAME: "${TTN_DASHBOARD_MAIL_HOST_NAME:-.}"
215+
RELAY_NETWORKS: "${TTN_MAIL_RELAY_NETWORKS}"
216+
SMARTHOST_ADDRESS: "${TTN_SMARTHOST_ADDRESS}"
217+
SMARTHOST_PORT: "${TTN_SMARTHOST_PORT}"
218+
SMARTHOST_USER: "${TTN_SMARTHOST_USER}"
219+
SMARTHOST_PASSWORD: "${TTN_SMARTHOST_PASSWORD}"
220+
SMARTHOST_ALIASES: "${TTN_SMARTHOST_ALIASES}"
194221

195222
grafana:
196223
restart: unless-stopped

0 commit comments

Comments
 (0)