From d8fe59901a3b235871f29e2bf589beb03892100d Mon Sep 17 00:00:00 2001 From: Florian Braun Date: Wed, 7 Feb 2018 18:20:32 +0100 Subject: [PATCH] Added Persistent Volume for NGINX Nginx should also have a persistent option, so that the .htaccess file gets saved correctly. It also enables the file to be easily edited because the nginx container has no vi or nano. --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e12b60dc..e250617a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -89,6 +89,8 @@ services: ports: - "80:80" - "443:443" +# volumes: +# - my-path:/etc/nginx/conf.d:Z networks: - docker_elk depends_on: