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
NGINX_ENVSUBST_TEMPLATE_DIR: /etc/nginx/templates
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:
- "80:80"
@ -18,17 +18,15 @@ services:
volumes:
# Konfiguracja Nginx
volumes:
- apps-data:/etc/nginx/conf.d:ro
- nginx2GB_cache:/var/cache/nginx2GB
- nginx05GB_cache:/var/cache/nginx05GB
# Certyfikaty SSL
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
- ${DOCKER_DATA}/letsencrypt-tmp:/var/www/certbot:rw
- ${DOCKER_DATA}/nginx-logs:/var/log/nginx:rw
- apps-data:/etc/nginx/conf.d:ro
- nginx2GB_cache:/var/cache/nginx2GB
- nginx05GB_cache:/var/cache/nginx05GB
# Certyfikaty SSL
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
- ${DOCKER_DATA}/letsencrypt-tmp:/var/www/certbot:rw
- ${DOCKER_DATA}/nginx-logs:/var/log/nginx:rw
volumes:
nginx2GB_cache:
@ -44,7 +42,6 @@ volumes:
apps-data:
external: true
networks:
proxy-net:
name: proxy-net