From 3d6aa13235e404c5b23fc65d41ac1f607175d7f8 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 15 Jun 2024 17:08:55 -0400 Subject: Mount certificates readonly We don't need to modify any files within this volume, so mark it as read only, especially since the volume belongs to nginx-proxy. We require write access to the other volumes. Signed-off-by: Malfurious --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e4c8a42..0aeda27 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: restart: "always" volumes: - - "certs:/etc/certs" + - "certs:/etc/certs:ro" - "mail:/var/mail" - "postfix:/var/spool/postfix" - "mlmmj:/var/spool/mlmmj" @@ -29,7 +29,7 @@ services: restart: "always" volumes: - - "certs:/etc/certs" + - "certs:/etc/certs:ro" - "mail:/var/mail" - "postfix:/var/spool/postfix" ports: -- cgit v1.2.3