RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
18
.env.example
Normal file
18
.env.example
Normal file
@@ -0,0 +1,18 @@
|
||||
# Store backend: file | sqlite (default: file)
|
||||
RUSTYCMS_STORE=file
|
||||
|
||||
# Multilingual: comma-separated locales (e.g. de,en). First = default. Content under content/{locale}/{collection}/.
|
||||
RUSTYCMS_LOCALES=de,en
|
||||
|
||||
# Only when RUSTYCMS_STORE=sqlite: SQLite URL (default: sqlite:content.db)
|
||||
# RUSTYCMS_DATABASE_URL=sqlite:content.db
|
||||
|
||||
# API key for write access (POST/PUT/DELETE + POST /api/schemas). GET stays without key.
|
||||
# Authorization: Bearer <key> or X-API-Key: <key>. For Admin UI in browser: set same value in admin-ui as NEXT_PUBLIC_RUSTYCMS_API_KEY.
|
||||
RUSTYCMS_API_KEY=dein-geheimes-token
|
||||
|
||||
# Optional: CORS – allowed origin (e.g. https://my-frontend.com). Empty or * = allow all.
|
||||
# RUSTYCMS_CORS_ORIGIN=
|
||||
|
||||
# Optional: Response cache for GET /api/content (TTL in seconds). 0 = off. Default: 60.
|
||||
# RUSTYCMS_CACHE_TTL_SECS=60
|
||||
Reference in New Issue
Block a user