diff options
author | Malfurious <m@lfurio.us> | 2024-06-15 17:08:55 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-06-30 02:11:54 -0400 |
commit | 3d6aa13235e404c5b23fc65d41ac1f607175d7f8 (patch) | |
tree | 0ce21012e500ec2ae6819b37d20a7a35babd268d | |
parent | 2e2e06f47683d484e4852c2978fd787660ad730e (diff) | |
download | mailnode-3d6aa13235e404c5b23fc65d41ac1f607175d7f8.tar.gz mailnode-3d6aa13235e404c5b23fc65d41ac1f607175d7f8.zip |
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 <m@lfurio.us>
-rw-r--r-- | docker-compose.yml | 4 |
1 files 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: |