]> prime8.dev >> repos - p8d.git/commitdiff
Enforce read only
authorDamian Myrda <monkey.damianek@gmail.com>
Fri, 5 Jul 2024 20:47:05 +0000 (15:47 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Fri, 5 Jul 2024 20:47:05 +0000 (15:47 -0500)
compose.yml

index 569b57336904458ff635c9885810bcb3ccdb3956..225ef0e7d057e28c79b8428ad85966fbc562800e 100644 (file)
@@ -6,8 +6,8 @@ services:
     ports:
       - "443:443"
     volumes:
-      - /etc/letsencrypt/live/prime8.dev/fullchain.pem:/ssl/fullchain.pem
-      - /etc/letsencrypt/live/prime8.dev/privkey.pem:/ssl/privkey.pem
+      - /etc/letsencrypt/live/prime8.dev/fullchain.pem:/ssl/fullchain.pem:ro
+      - /etc/letsencrypt/live/prime8.dev/privkey.pem:/ssl/privkey.pem:ro
     restart: always
     stop_grace_period: 1m
 
@@ -28,7 +28,7 @@ services:
       - mail:/state/:/var/mail-state/
       - mail:/logs/:/var/log/mail/
       - mail:/config/:/tmp/docker-mailserver/
-      - /etc/letsencrypt/:/etc/letsencrypt/
+      - /etc/letsencrypt/:/etc/letsencrypt/:ro
     cap_add:
       - NET_ADMIN
     healthcheck: