added data directory
This commit is contained in:
parent
0158f56beb
commit
2646f4fa2f
@ -31,6 +31,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${NGINX_CONFIG}:/etc/nginx/nginx.conf
|
- ${NGINX_CONFIG}:/etc/nginx/nginx.conf
|
||||||
- ${NGINX_SITECONFIG}:/etc/nginx/conf.d/default.conf
|
- ${NGINX_SITECONFIG}:/etc/nginx/conf.d/default.conf
|
||||||
|
- ${NGINX_DATA}:/var/www/html
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
|
||||||
|
@ -19,5 +19,6 @@ DIUN_NGINX_EXCLUDE=
|
|||||||
|
|
||||||
# Nginx
|
# Nginx
|
||||||
NGINX_VERSION=1.22.0-alpine
|
NGINX_VERSION=1.22.0-alpine
|
||||||
|
NGINX_DATA=./data/httpdocs
|
||||||
NGINX_CONFIG=./data/nginx.conf
|
NGINX_CONFIG=./data/nginx.conf
|
||||||
NGINX_SITECONFIG=./data/site.conf
|
NGINX_SITECONFIG=./data/site.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user