Fix nginx read-only filesystem issues

This commit is contained in:
Andreas Dueren
2025-06-20 10:09:39 -06:00
parent 09ad85510f
commit 16a51b8c61
3 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,6 @@
"manifestVersion": 2, "manifestVersion": 2,
"website": "https://www.keila.io", "website": "https://www.keila.io",
"contactEmail": "hello@keila.io", "contactEmail": "hello@keila.io",
"icon": "file://icon.png",
"tags": [ "tags": [
"email", "email",
"newsletter", "newsletter",
@ -26,12 +25,5 @@
"minBoxVersion": "7.0.0", "minBoxVersion": "7.0.0",
"postInstallMessage": "file://POSTINSTALL.md", "postInstallMessage": "file://POSTINSTALL.md",
"changelog": "file://CHANGELOG", "changelog": "file://CHANGELOG",
"optionalSso": false, "optionalSso": false
"tcpPorts": {
"KEILA_PORT": {
"title": "Keila HTTP Port",
"description": "Keila HTTP Port",
"containerPort": 4000
}
}
} }

View File

@ -6,6 +6,11 @@ server {
root /tmp; root /tmp;
client_max_body_size 100m; 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 # Security headers
add_header X-Frame-Options SAMEORIGIN; add_header X-Frame-Options SAMEORIGIN;

View File

@ -55,6 +55,9 @@ if [[ ! -f "/app/data/root_credentials" ]]; then
chmod 600 /app/data/root_credentials chmod 600 /app/data/root_credentials
fi 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" echo "==> Starting nginx"
nginx -t nginx -t
nginx nginx