correction of deploy-dc

This commit is contained in:
Artur Kuś 2025-08-18 19:07:10 +02:00
parent 7b87c59e7a
commit 57bf0df570
1 changed files with 10 additions and 13 deletions

View File

@ -10,7 +10,7 @@ services:
TZ: Europe/Warsaw TZ: Europe/Warsaw
NGINX_ENVSUBST_TEMPLATE_DIR: /etc/nginx/templates NGINX_ENVSUBST_TEMPLATE_DIR: /etc/nginx/templates
NGINX_ENVSUBST_OUTPUT_DIR: /etc/nginx/conf.d NGINX_ENVSUBST_OUTPUT_DIR: /etc/nginx/conf.d
NGINX_CACHE_DISK_PATH: "/var/cache/nginx" # Nowa zmienna NGINX_CACHE_DISK_PATH: "/var/cache/nginx"
ports: ports:
- "80:80" - "80:80"
@ -18,17 +18,15 @@ services:
volumes: volumes:
# Konfiguracja Nginx # Konfiguracja Nginx
volumes: - apps-data:/etc/nginx/conf.d:ro
- apps-data:/etc/nginx/conf.d:ro - nginx2GB_cache:/var/cache/nginx2GB
- nginx2GB_cache:/var/cache/nginx2GB - nginx05GB_cache:/var/cache/nginx05GB
- nginx05GB_cache:/var/cache/nginx05GB
# Certyfikaty SSL
# Certyfikaty SSL - ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw - ${DOCKER_DATA}/letsencrypt-tmp:/var/www/certbot:rw
- ${DOCKER_DATA}/letsencrypt-tmp:/var/www/certbot:rw
- ${DOCKER_DATA}/nginx-logs:/var/log/nginx:rw
- ${DOCKER_DATA}/nginx-logs:/var/log/nginx:rw
volumes: volumes:
nginx2GB_cache: nginx2GB_cache:
@ -44,7 +42,6 @@ volumes:
apps-data: apps-data:
external: true external: true
networks: networks:
proxy-net: proxy-net:
name: proxy-net name: proxy-net