From cfc5cfd06b066e2eadac4f21036c1505a1731be1 Mon Sep 17 00:00:00 2001 From: RiQuY Date: Thu, 3 Apr 2025 07:03:03 +0000 Subject: [PATCH] feat (docker): Expose NGINX logs folder. (#6963) * feat (docker): Expose NGINX logs folder. This commit adds the folder /var/log/ngnix of the webserver container to the volume mount. * refactor (docker): Rename mount folder name to avoid conflicts with NGINX site file. This commit renames the mount folder nginx/logs to nginx-logs to avoid conflicts with the NGINX site file. --- support/docker/production/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml index 9a3455d0a..0fbaab9f0 100644 --- a/support/docker/production/docker-compose.yml +++ b/support/docker/production/docker-compose.yml @@ -22,6 +22,7 @@ services: - ./docker-volume/data:/var/www/peertube/storage - certbot-www:/var/www/certbot - ./docker-volume/certbot/conf:/etc/letsencrypt + - ./docker-volume/nginx-logs:/var/log/nginx depends_on: - peertube restart: "always"