Added an example .env file

This commit is contained in:
Juan Luis Baptiste 2020-04-09 12:13:45 -05:00
parent 28dae2b6b2
commit 39ab0f7434
2 changed files with 22 additions and 1 deletions

21
.env.example Normal file
View File

@ -0,0 +1,21 @@
# Mandatory: Server address of the SMTP server to use.
#SMTP_SERVER=
# Optional: (Default value: 587) Port address of the SMTP server to use.
#SMTP_PORT=
# Mandatory: Username to authenticate with.
#SMTP_USERNAME=
# Mandatory: Password of the SMTP user.
#SMTP_PASSWORD=
# Mandatory: Server hostname for the Postfix container. Emails will appear to come from the hostname's domain.
#SERVER_HOSTNAME=
# Optional: This will add a header for tracking messages upstream. Helpful for spam filters. Will appear as "RelayTag: ${SMTP_HEADER_TAG}" in the email headers.
#SMTP_HEADER_TAG=
# Optional: This will add a header for tracking messages upstream. Helpful for spam filters. Will appear as "RelayTag: ${SMTP_HEADER_TAG}" in the email headers.
#SMTP_NETWORKS=

View File

@ -5,7 +5,7 @@ services:
expose:
- "25"
env_file:
- ../../credentials-smtp.env
- .env
restart: always
volumes:
- "/etc/localtime:/etc/localtime:ro"