Commit Graph

3 Commits (c86631b40c99a083155f8815d3d0aaaa6dbdf264)

Author SHA1 Message Date
Valentin Brandl d604166194
Fix formatting
Valentin Brandl d643a2ff13
Check if mailcow path is set and fix directory check
Valentin Brandl 307336cfc4
Add deploy hook for mailcow
This hook will copy the key and certificate chain to the specified
mailcow installation (as described in
https://mailcow.github.io/mailcow-dockerized-docs/firststeps-ssl/#use-own-certificates)
and restarts the containers, that are using the certificates.

The hook has 2 parameters:

* `DEPLOY_MAILCOW_PATH`: The path to the mailcow installation (required)
* `DEPLOY_MAILCOW_RELOAD`: The reload command, defaults to `docker-compose restart postfix-mailcow dovecot-mailcow nginx-mailcow`