Chaning deploy-dc for nginx prepare to cache
This commit is contained in:
parent
dcd8b4213b
commit
aa0fbb55f1
|
|
@ -10,6 +10,7 @@ services:
|
|||
TZ: Europe/Warsaw
|
||||
NGINX_ENVSUBST_TEMPLATE_DIR: /etc/nginx/templates
|
||||
NGINX_ENVSUBST_OUTPUT_DIR: /etc/nginx/conf.d
|
||||
NGINX_CACHE_DISK_PATH: "/var/cache/nginx" # Nowa zmienna
|
||||
|
||||
ports:
|
||||
- "80:80"
|
||||
|
|
@ -24,6 +25,7 @@ services:
|
|||
target: /var/cache/nginx
|
||||
tmpfs:
|
||||
size: 2147483648 # 2GB w bajtach
|
||||
mode: 1777
|
||||
|
||||
# Certyfikaty SSL
|
||||
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
|
||||
|
|
|
|||
Loading…
Reference in New Issue