fix: address PR review - Traefik TLS, restart policy, logo

This commit is contained in:
t6harsh 2026-02-11 16:00:53 +05:30
parent c61d7de993
commit 3488acff98
2 changed files with 8 additions and 12 deletions

View file

@ -1,7 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
<rect width="64" height="64" rx="8" fill="#1a1a2e"/>
<rect x="8" y="16" width="48" height="32" rx="3" fill="#16213e" stroke="#0f3460" stroke-width="2"/>
<path d="M8 19l24 16 24-16" stroke="#e94560" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
<path d="M8 48l18-14" stroke="#0f3460" stroke-width="1.5" stroke-linecap="round"/>
<path d="M56 48l-18-14" stroke="#0f3460" stroke-width="1.5" stroke-linecap="round"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="26 299.2 502.41 369.8"><path fill="#f3ac47" d="M122 490h172l70-27a10 10 0 0 0 6-12l-55-146a10 10 0 0 0-13-5L90 380a10 10 0 0 0-6 12z"/><path fill="#f19a3d" d="m294 490 70-27a10 10 0 0 0 5-5l-149-54-46 86Z"/><path fill="#ffd15c" d="m84 387 150 53 75-140a10 10 0 0 0-7 0L90 380a10 10 0 0 0-6 6z"/><path fill="#303c42" d="M523 462c-1-1-31-20-59-15-7-29-33-47-35-48-4-3-9-2-13 1-2 3-20 23-16 69 1 3 0 7-2 9-1 2-4 3-7 3H36.6c-2.6 0-5.4 1-7.6 3-2 2-3 5-3 8 0 160 117 177 168 177 129 0 219-78 258-148 52-8 74-43 75-45 3-5 1-11-4-14"/><path fill="#42a5f5" d="M445 501c-4 1-7 3-8 6-35 65-120 142-243 142-54 0-142-20-147-147h344c9 0 17-4 23-10 6-7 9-16 8-25-2-21 1-35 4-43 8 7 19 20 19 36 0 4 1 7 5 9 3 2 6 2 10 1 12-7 30-1 42 4-9 10-27 24-57 27"/><path d="M445 491c-4 0-7 2-8 5-35 66-120 142-243 142-52 0-137-18-146-136h-1c5 127 93 147 147 147 123 0 208-77 243-142 1-3 4-5 8-6 30-3 48-17 57-27-3-1-5-2-8-3-10 8-26 17-49 20" opacity=".1"/><circle cx="132" cy="565" r="21" fill="#303c42"/><circle cx="141" cy="559" r="6.76" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 536 B

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -20,6 +20,9 @@ services:
- mail-state:/var/mail-state
- mail-logs:/var/log/mail
- mail-config:/tmp/docker-mailserver
# Mount Traefik's ACME certificate store (read-only)
# DMS natively reads acme.json and auto-reloads on cert renewal
- /data/coolify/proxy/acme.json:/etc/letsencrypt/acme.json:ro
environment:
# Postmaster account — the initial admin mailbox created on first boot
- POSTMASTER_ADDRESS=postmaster@${MAIL_DOMAIN:?}
@ -33,10 +36,10 @@ services:
- ONE_DIR=1
- PERMIT_DOCKER=none
# TLS — use letsencrypt when paired with Coolify's proxy, or manual certs
- SSL_TYPE=${SSL_TYPE:-}
- SSL_CERT_PATH=${SSL_CERT_PATH:-}
- SSL_KEY_PATH=${SSL_KEY_PATH:-}
# TLS — pre-configured for Coolify's Traefik proxy
# DMS reads Traefik's acme.json and extracts the matching certificate
- SSL_TYPE=letsencrypt
- SSL_DOMAIN=${MAIL_HOSTNAME:?mail}.${MAIL_DOMAIN:?}
# DKIM / SPF / DMARC
- ENABLE_OPENDKIM=${ENABLE_OPENDKIM:-1}
@ -69,7 +72,6 @@ services:
cap_add:
- NET_ADMIN
- SYS_PTRACE
restart: unless-stopped
entrypoint:
- /bin/bash
- -c