From 5c72b3f3f959b1f7a881ac2130cabdbe95f46b70 Mon Sep 17 00:00:00 2001 From: Gui-Gos <97973228+Gui-Gos@users.noreply.github.com> Date: Thu, 12 Feb 2026 14:27:01 +0100 Subject: [PATCH] fix(nginx): use correct data/ prefix for volume paths Runtipi copies app data/ contents to APP_DATA_DIR/data/, not APP_DATA_DIR/. Without the data/ prefix, Docker creates empty directories instead of using the actual config files, causing nginx to crash on startup. Co-Authored-By: Claude Opus 4.6 --- apps/nginx/docker-compose.json | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/apps/nginx/docker-compose.json b/apps/nginx/docker-compose.json index a174fde..4a87a5f 100644 --- a/apps/nginx/docker-compose.json +++ b/apps/nginx/docker-compose.json @@ -8,32 +8,27 @@ "internalPort": "80", "volumes": [ { - "hostPath": "${APP_DATA_DIR}/conf.d", - "containerPath": "/etc/nginx/conf.d", - "readOnly": false + "hostPath": "${APP_DATA_DIR}/data/conf.d", + "containerPath": "/etc/nginx/conf.d" }, { - "hostPath": "${APP_DATA_DIR}/nginx.conf", - "containerPath": "/etc/nginx/nginx.conf", - "readOnly": false + "hostPath": "${APP_DATA_DIR}/data/nginx.conf", + "containerPath": "/etc/nginx/nginx.conf" }, { - "hostPath": "${APP_DATA_DIR}/www", - "containerPath": "/var/www", - "readOnly": false + "hostPath": "${APP_DATA_DIR}/data/www", + "containerPath": "/var/www" }, { - "hostPath": "${APP_DATA_DIR}/html", - "containerPath": "/usr/share/nginx/html", - "readOnly": false + "hostPath": "${APP_DATA_DIR}/data/html", + "containerPath": "/usr/share/nginx/html" }, { - "hostPath": "${APP_DATA_DIR}/logs", - "containerPath": "/var/log/nginx", - "readOnly": false + "hostPath": "${APP_DATA_DIR}/data/logs", + "containerPath": "/var/log/nginx" }, { - "hostPath": "${APP_DATA_DIR}/ssl", + "hostPath": "${APP_DATA_DIR}/data/ssl", "containerPath": "/etc/nginx/ssl", "readOnly": true }