From 65483178afab58e0d7a7fcac339976e1a9bd1bbd Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Fri, 7 Mar 2025 15:28:16 +0100 Subject: [PATCH] Added volumes --- dockerized/first-level-nginx/swarmed/compose.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dockerized/first-level-nginx/swarmed/compose.yaml b/dockerized/first-level-nginx/swarmed/compose.yaml index ca98775..11826b3 100644 --- a/dockerized/first-level-nginx/swarmed/compose.yaml +++ b/dockerized/first-level-nginx/swarmed/compose.yaml @@ -23,4 +23,7 @@ services: max_attempts: 3 window: 120s healthcheck: - test: ["CMD", "service", "nginx", "status"] \ No newline at end of file + test: ["CMD", "service", "nginx", "status"] + volumes: + - ../configs/node.conf:/etc/nginx/nginx.conf:ro + - ../content/index.html:/var/www/default/index.html \ No newline at end of file