From 16a51b8c61a01c8667b24f8fd9a1bc05ddef625b Mon Sep 17 00:00:00 2001 From: Andreas Dueren Date: Fri, 20 Jun 2025 10:09:39 -0600 Subject: [PATCH] Fix nginx read-only filesystem issues --- CloudronManifest.json | 10 +--------- nginx.conf | 5 +++++ start.sh | 3 +++ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CloudronManifest.json b/CloudronManifest.json index a22ffce..5db67af 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -10,7 +10,6 @@ "manifestVersion": 2, "website": "https://www.keila.io", "contactEmail": "hello@keila.io", - "icon": "file://icon.png", "tags": [ "email", "newsletter", @@ -26,12 +25,5 @@ "minBoxVersion": "7.0.0", "postInstallMessage": "file://POSTINSTALL.md", "changelog": "file://CHANGELOG", - "optionalSso": false, - "tcpPorts": { - "KEILA_PORT": { - "title": "Keila HTTP Port", - "description": "Keila HTTP Port", - "containerPort": 4000 - } - } + "optionalSso": false } \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index c87a11a..abeaf76 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,6 +6,11 @@ server { root /tmp; client_max_body_size 100m; + client_body_temp_path /tmp/nginx/body; + fastcgi_temp_path /tmp/nginx/fastcgi; + proxy_temp_path /tmp/nginx/proxy; + scgi_temp_path /tmp/nginx/scgi; + uwsgi_temp_path /tmp/nginx/uwsgi; # Security headers add_header X-Frame-Options SAMEORIGIN; diff --git a/start.sh b/start.sh index 065e408..2284eda 100644 --- a/start.sh +++ b/start.sh @@ -55,6 +55,9 @@ if [[ ! -f "/app/data/root_credentials" ]]; then chmod 600 /app/data/root_credentials fi +echo "==> Creating nginx temp directories" +mkdir -p /tmp/nginx/body /tmp/nginx/fastcgi /tmp/nginx/proxy /tmp/nginx/scgi /tmp/nginx/uwsgi + echo "==> Starting nginx" nginx -t nginx