{
"server": {
"name": "supabase-server",
"version": "0.1.0",
"port": 3000,
"host": "localhost"
},
"supabase": {
"project": {
"url": "your_project_url",
"key": "your_service_role_key",
"accessToken": "your_access_token"
},
"storage": {
"defaultBucket": "public",
"maxFileSize": 52428800,
"allowedMimeTypes": [
"image/*",
"application/pdf",
"text/*"
]
},
"database": {
"maxConnections": 10,
"timeout": 30000,
"ssl": true
},
"auth": {
"autoConfirmUsers": false,
"disableSignup": false,
"jwt": {
"expiresIn": "1h",
"algorithm": "HS256"
}
},
"functions": {
"timeout": 30000,
"maxRetries": 3
}
},
"logging": {
"level": "info",
"format": "json",
"outputs": [
"console",
"file"
],
"file": {
"path": "logs/server.log",
"maxSize": "10m",
"maxFiles": 5
}
},
"security": {
"cors": {
"enabled": true,
"origins": ["*"],
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"allowedHeaders": ["Content-Type", "Authorization"]
},
"rateLimit": {
"enabled": true,
"windowMs": 900000,
"max": 100
}
},
"monitoring": {
"enabled": true,
"metrics": {
"collect": true,
"interval": 60000
},
"health": {
"enabled": true,
"path": "/health"
}
}
}