mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Update the docker-compose.yml to use the correct image name stalwartlabs/stalwart instead of stalwartlabs/mail-server. Also add a comment recommending to use specific version tags for production environments.
20 lines
552 B
YAML
20 lines
552 B
YAML
services:
|
|
stalwart-mail:
|
|
image: stalwartlabs/stalwart:latest-alpine # for production choose specific version from https://hub.docker.com/r/stalwartlabs/stalwart/tags
|
|
ports:
|
|
- "443" # HTTPS
|
|
- "8080" # HTTP API
|
|
- "25" # SMTP
|
|
- "587" # Submission
|
|
- "465" # SMTPS
|
|
- "143" # IMAP
|
|
- "993" # IMAPS
|
|
- "4190" # ManageSieve
|
|
- "110" # POP3
|
|
- "995" # POP3S
|
|
volumes:
|
|
- stalwart_data:/opt/stalwart-mail
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
stalwart_data: |