15 lines
547 B
YAML
15 lines
547 B
YAML
|
services:
|
||
|
mailserver:
|
||
|
image: docker.io/stalwartlabs/mail-server:latest
|
||
|
container_name: mailserver
|
||
|
restart: always
|
||
|
ports:
|
||
|
- "{{ ports['mailserver_smtp'] }}:25"
|
||
|
- {{ ports['mailserver_smtps'] }}:465
|
||
|
- {{ ports['mailserver_imaps'] }}:993
|
||
|
- {{ ports['mailserver_jmap'] }}:443
|
||
|
volumes:
|
||
|
- {{ volumes['mailserver_tls_certificate_file'] }}:/etc/fullchain.pem
|
||
|
- {{ volumes['mailserver_tls_certificate_key_file'] }}:/etc/privkey.pem
|
||
|
- {{ volumes['mailserver_datadir' ] }}:/opt/stalwart-mail
|