diff --git a/svgs/stalwart.svg b/svgs/stalwart.svg new file mode 100644 index 000000000..e031df489 --- /dev/null +++ b/svgs/stalwart.svg @@ -0,0 +1 @@ + diff --git a/templates/compose/stalwart.yaml b/templates/compose/stalwart.yaml new file mode 100644 index 000000000..356cb1080 --- /dev/null +++ b/templates/compose/stalwart.yaml @@ -0,0 +1,32 @@ +# documentation: https://stalw.art/docs/ +# slogan: Modern mail server platform +# category: Mail +# tags: mail,smtp,imap,pop3,jmap,email,sieve,messaging +# logo: svgs/stalwart.svg +# port: 8080 + +services: + stalwart: + image: 'stalwartlabs/stalwart:v0.16.13' + environment: + - SERVICE_URL_STALWART_8080 + expose: + - '8080' + ports: + - '25:25' + - '465:465' + - '587:587' + - '993:993' + - '995:995' + - '143:143' + - '110:110' + - '4190:4190' + volumes: + - 'stalwart-mail:/etc/stalwart' + - 'stalwart-data:/var/lib/stalwart' + - '/etc/localtime:/etc/localtime:ro' + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8080/"] + interval: 30s + timeout: 10s + retries: 3