Skip to content

Commit

Permalink
mount caddy certs directly into docker-mailserver
Browse files Browse the repository at this point in the history
  • Loading branch information
FarisZR committed Oct 20, 2024
1 parent e118416 commit fdb00b4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docker-mailserver/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,18 @@ services:
- mail-logs:/var/log/mail
- config:/tmp/docker-mailserver
- /etc/localtime:/etc/localtime:ro
- caddy_data:/caddy-data:ro
- type: volume
source: caddy_data
target: /etc/letsencrypt/live/cups-g11.aosus.org/fullchain.pem
volume:
nocopy: true
subpath: /certificates/acme-v02.api.letsencrypt.org-directory/cups-g11.aosus.org/cups-g11.aosus.org.crt
- type: volume
source: caddy_data
target: /etc/letsencrypt/live/cups-g11.aosus.org/privkey.pem
volume:
nocopy: true
subpath: /certificates/acme-v02.api.letsencrypt.org-directory/cups-g11.aosus.org/cups-g11.aosus.org.key
restart: always
stop_grace_period: 1m
cap_add:
Expand Down

0 comments on commit fdb00b4

Please sign in to comment.