Fix Redis configuration and remove Redis addon temporarily
This commit is contained in:
@@ -10,8 +10,7 @@
|
||||
"addons": {
|
||||
"postgresql": {},
|
||||
"localstorage": {},
|
||||
"sendmail": {},
|
||||
"redis": {}
|
||||
"sendmail": {}
|
||||
},
|
||||
"manifestVersion": 2,
|
||||
"website": "https://docmost.com",
|
||||
|
11
start.sh
11
start.sh
@@ -26,13 +26,18 @@ APP_SECRET=$(cat /app/data/app_secret)
|
||||
export NODE_ENV=production
|
||||
export APP_URL="${CLOUDRON_APP_ORIGIN}"
|
||||
export APP_SECRET="${APP_SECRET}"
|
||||
export PORT=3000
|
||||
export PORT=3001
|
||||
|
||||
# Database configuration
|
||||
export DATABASE_URL="${CLOUDRON_POSTGRESQL_URL}"
|
||||
|
||||
# Redis configuration
|
||||
export REDIS_URL="${CLOUDRON_REDIS_URL}"
|
||||
# Redis configuration (optional)
|
||||
if [ -n "${CLOUDRON_REDIS_URL:-}" ]; then
|
||||
export REDIS_URL="${CLOUDRON_REDIS_URL}"
|
||||
echo "=> Redis configured"
|
||||
else
|
||||
echo "=> Redis not configured - collaborative features may be limited"
|
||||
fi
|
||||
|
||||
# Email configuration
|
||||
export MAIL_DRIVER=smtp
|
||||
|
Reference in New Issue
Block a user