add cloudron packaging and auth refinements

This commit is contained in:
2026-04-12 12:12:39 +02:00
parent 36bde02c54
commit 24ebb26ffd
7 changed files with 97 additions and 1 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
set -eu
export NOURI_DATA_DIR="${NOURI_DATA_DIR:-/app/data}"
mkdir -p "${NOURI_DATA_DIR}/uploads"
if [ -z "${NOURI_SECRET_KEY:-}" ]; then
export NOURI_SECRET_KEY="cloudron-dev-secret"
fi
exec gunicorn \
--bind 0.0.0.0:8000 \
--workers 2 \
--threads 4 \
--timeout 60 \
wsgi:app