Added an example .env file
This commit is contained in:
parent
0ec4289588
commit
e6b37122f8
2 changed files with 22 additions and 1 deletions
21
.env.example
Normal file
21
.env.example
Normal 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=
|
|
@ -5,7 +5,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- "25"
|
- "25"
|
||||||
env_file:
|
env_file:
|
||||||
- ../../credentials-smtp.env
|
- .env
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
|
Loading…
Reference in a new issue