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.
This commit is contained in:
Florian Braun
2018-02-07 18:20:32 +01:00
committed by GitHub
parent 3cae6fe61d
commit d8fe59901a

View File

@@ -89,6 +89,8 @@ services:
ports:
- "80:80"
- "443:443"
# volumes:
# - my-path:/etc/nginx/conf.d:Z
networks:
- docker_elk
depends_on: