2024-03-16 13:49:47 +01:00
|
|
|
services:
|
|
|
|
mailserver:
|
2024-05-02 22:49:00 +02:00
|
|
|
image: docker.io/stalwartlabs/mail-server:v0.7.3
|
2024-03-16 13:49:47 +01:00
|
|
|
container_name: mailserver
|
|
|
|
restart: always
|
2024-04-06 21:43:34 +02:00
|
|
|
networks:
|
|
|
|
- mailserver
|
2024-03-16 13:49:47 +01:00
|
|
|
ports:
|
|
|
|
- "{{ ports['mailserver_smtp'] }}:25"
|
|
|
|
- {{ ports['mailserver_smtps'] }}:465
|
|
|
|
- {{ ports['mailserver_imaps'] }}:993
|
2024-05-02 22:49:00 +02:00
|
|
|
- {{ ports['mailserver_https'] }}:443
|
2024-03-16 13:49:47 +01:00
|
|
|
volumes:
|
|
|
|
- {{ volumes['mailserver_tls_certificate_file'] }}:/etc/fullchain.pem
|
|
|
|
- {{ volumes['mailserver_tls_certificate_key_file'] }}:/etc/privkey.pem
|
2024-05-02 22:49:00 +02:00
|
|
|
- ./config.toml:/opt/stalwart-mail/etc/config.toml
|
2024-04-06 21:43:34 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
mailserver:
|
|
|
|
name: mailserver
|