add cloudron packaging and auth refinements
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user