Commit Graph

3 Commits (e91538a554890c88bbf9dd3477d6650a6e0976ab)

Author SHA1 Message Date
Valentin Brandl d604166194
Fix formatting 6 years ago
Valentin Brandl d643a2ff13
Check if mailcow path is set and fix directory check 6 years ago
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`
6 years ago