From 57a0f09110750afeb4083a914669b79ef47fb999 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Mon, 31 Jan 2022 20:50:11 +0000 Subject: [PATCH] change ssl key pair to read-only --- docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6761a35..a0a97bd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -50,8 +50,8 @@ services: - ${NGINX_HTTP_PORT}:80 - ${NGINX_HTTPS_PORT}:443 volumes: - - ${SSL_CERT_PATH}:/etc/ssl/certs/server.cert.pem - - ${SSL_KEY_PATH}:/etc/ssl/private/server.key.pem + - ${SSL_CERT_PATH}:/etc/ssl/certs/server.cert.pem:ro + - ${SSL_KEY_PATH}:/etc/ssl/private/server.key.pem:ro environment: NGINX_HOST: ${NGINX_HOST} depends_on: