Browse Source

added mailcow certs volume

admin 2 months ago
parent
commit
acb43c0322
2 changed files with 2 additions and 0 deletions
  1. 1 0
      README.md
  2. 1 0
      docker-compose.yml

+ 1 - 0
README.md

@@ -38,6 +38,7 @@ docker run --rm --name whoami \
 To activate the configuration for  [mailcow](https://mailcow.email/):
   - `cd` in `./data/conf.d/` and 
   - create a hardlink `ln ../mailcow_proxy.conf mailcow_proxy.conf`
+  - The volume with certs obtained by mailcow is already part of docker-compose.yml, comment if not needed
 
 #### ejabberd
 To set proper headers for ejabberd:

+ 1 - 0
docker-compose.yml

@@ -12,6 +12,7 @@ services:
     environment:
       SSL_POLICY: "Mozilla-Modern"
     volumes:
+      - /opt/mailcow-dockerized/data/assets/ssl/:/etc/ssl/mail/:ro
       - /var/run/docker.sock:/tmp/docker.sock:ro
       - ./data/certs/:/etc/nginx/certs:ro
       - ./data/conf.d/:/etc/nginx/conf.d/