Add more configuration ENV vars
This commit is contained in:
parent
588c242e3a
commit
17216b8b9c
|
@ -54,6 +54,13 @@ services:
|
||||||
- POSTAL_LNAME=Cat
|
- POSTAL_LNAME=Cat
|
||||||
- POSTAL_PASSWORD=hDzqLsP5hEXuBinpQ3KHSknvgTxRu6
|
- POSTAL_PASSWORD=hDzqLsP5hEXuBinpQ3KHSknvgTxRu6
|
||||||
- POSTAL_EMAIL=aleksandar@puharic.com
|
- POSTAL_EMAIL=aleksandar@puharic.com
|
||||||
|
- POSTAL_SMTP_HOSTNAME=mailer.network7.nu
|
||||||
|
- POSTAL_SPF=spf.mailer.network7.nu
|
||||||
|
- POSTAL_RP=rp.mailer.network7.nu
|
||||||
|
- POSTAL_MX=mx.network7.nu
|
||||||
|
- POSTAL_UI_ADDRESS=mailer.network7.nu
|
||||||
|
- POSTAL_ROUTER_DOMAIN=router.mailer.network7.nu
|
||||||
|
- POSTAL_TRACK_DOMAIN=trx.network7.nu
|
||||||
networks:
|
networks:
|
||||||
default: { aliases: [ postal, service ] }
|
default: { aliases: [ postal, service ] }
|
||||||
client: { aliases: [ postal, mailer, mailer-service ] }
|
client: { aliases: [ postal, mailer, mailer-service ] }
|
||||||
|
|
|
@ -5,7 +5,7 @@ web_server:
|
||||||
|
|
||||||
web:
|
web:
|
||||||
# The host that the management interface will be available on
|
# The host that the management interface will be available on
|
||||||
host: postal.example.com
|
host: {{ POSTAL_UI_ADDRESS }}
|
||||||
# The protocol that requests to the management interface should happen on
|
# The protocol that requests to the management interface should happen on
|
||||||
protocol: https
|
protocol: https
|
||||||
|
|
||||||
|
@ -46,12 +46,12 @@ dns:
|
||||||
# https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration for further
|
# https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration for further
|
||||||
# information about these.
|
# information about these.
|
||||||
mx_records:
|
mx_records:
|
||||||
- mx.postal.example.com
|
- {{ POSTAL_MX }}
|
||||||
smtp_server_hostname: postal.example.com
|
smtp_server_hostname: {{ POSTAL_SMTP_HOSTNAME }}
|
||||||
spf_include: spf.postal.example.com
|
spf_include: {{ POSTAL_SPF }}
|
||||||
return_path: rp.postal.example.com
|
return_path: {{ POSTAL_RP }}
|
||||||
route_domain: routes.postal.example.com
|
route_domain: {{ POSTAL_ROUTER_DOMAIN }}
|
||||||
track_domain: track.postal.example.com
|
track_domain: {{ POSTAL_TRACK_DOMAIN }}
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
# Specify an SMTP server that can be used to send messages from the Postal management
|
# Specify an SMTP server that can be used to send messages from the Postal management
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
web:
|
web:
|
||||||
# The host that the management interface will be available on
|
# The host that the management interface will be available on
|
||||||
host: postal.example.com
|
host: {{ POSTAL_UI_ADDRESS }}
|
||||||
# The protocol that requests to the management interface should happen on
|
# The protocol that requests to the management interface should happen on
|
||||||
protocol: https
|
protocol: https
|
||||||
|
|
||||||
|
@ -41,12 +41,12 @@ dns:
|
||||||
# https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration for further
|
# https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration for further
|
||||||
# information about these.
|
# information about these.
|
||||||
mx_records:
|
mx_records:
|
||||||
- mx.postal.example.com
|
- {{ POSTAL_MX }}
|
||||||
smtp_server_hostname: postal.example.com
|
smtp_server_hostname: {{ POSTAL_SMTP_HOSTNAME }}
|
||||||
spf_include: spf.postal.example.com
|
spf_include: {{ POSTAL_SPF }}
|
||||||
return_path: rp.postal.example.com
|
return_path: {{ POSTAL_RP }}
|
||||||
route_domain: routes.postal.example.com
|
route_domain: {{ POSTAL_ROUTER_DOMAIN }}
|
||||||
track_domain: track.postal.example.com
|
track_domain: {{ POSTAL_TRACK_DOMAIN }}
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
# Specify an SMTP server that can be used to send messages from the Postal management
|
# Specify an SMTP server that can be used to send messages from the Postal management
|
||||||
|
|
Loading…
Reference in New Issue
Block a user