added data directory

This commit is contained in:
Bryan Joshua Pedini 2024-04-20 06:21:35 +02:00
parent 0158f56beb
commit 2646f4fa2f
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ services:
volumes:
- ${NGINX_CONFIG}:/etc/nginx/nginx.conf
- ${NGINX_SITECONFIG}:/etc/nginx/conf.d/default.conf
- ${NGINX_DATA}:/var/www/html
networks:
- traefik

View File

@ -19,5 +19,6 @@ DIUN_NGINX_EXCLUDE=
# Nginx
NGINX_VERSION=1.22.0-alpine
NGINX_DATA=./data/httpdocs
NGINX_CONFIG=./data/nginx.conf
NGINX_SITECONFIG=./data/site.conf