mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 12:28:06 +00:00
docker: extract cert monitor from background process to systemd timer
The cert monitoring was an orphaned background process (`monitor_certificates &`) Replace with a proper systemd timer/service (every 60s). Also made journald ForwardToConsole=yes idempotent.
This commit is contained in:
@@ -29,10 +29,7 @@ services:
|
||||
environment:
|
||||
MAIL_DOMAIN: $MAIL_DOMAIN
|
||||
CMDEPLOY_STAGES: ${CMDEPLOY_STAGES:-}
|
||||
# Certificate monitoring (only needed with USE_FOREIGN_CERT_MANAGER)
|
||||
USE_FOREIGN_CERT_MANAGER: ${USE_FOREIGN_CERT_MANAGER:-}
|
||||
ENABLE_CERTS_MONITORING: ${ENABLE_CERTS_MONITORING:-}
|
||||
CERTS_MONITORING_TIMEOUT: ${CERTS_MONITORING_TIMEOUT:-}
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
## system
|
||||
|
||||
Reference in New Issue
Block a user