diff options
| author | 2025-12-26 22:39:23 +0800 | |
|---|---|---|
| committer | 2025-12-26 22:39:23 +0800 | |
| commit | 32ca410f4edbff578d71781d943c41573912f476 (patch) | |
| tree | 49f7e1e5602657d23945082fe273fc4802959a40 /.env.example | |
Initial commitmain
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..d23ce6b --- /dev/null +++ b/.env.example @@ -0,0 +1,42 @@ +# S3-compatible storage configuration +# The caching system supports any S3-compatible service including: +# - Cloudflare R2 +# - Backblaze B2 +# - AWS S3 +# - MinIO +# - DigitalOcean Spaces +# And more... + +# S3 endpoint URL (required) +# Examples: +# Cloudflare R2: https://<ACCOUNT_ID>.r2.cloudflarestorage.com +# Backblaze B2: https://s3.<REGION>.backblazeb2.com +# AWS S3: https://s3.<REGION>.amazonaws.com +# MinIO: http://localhost:9000 +S3_ENDPOINT= + +# S3 access key ID (required) +S3_ACCESS_KEY_ID= + +# S3 secret access key (required) +S3_SECRET_ACCESS_KEY= + +# S3 bucket name (required) +S3_BUCKET_NAME= + +# S3 region (optional) +# Use "auto" for Cloudflare R2 +# For AWS S3 or Backblaze B2, use the appropriate region (e.g., "us-east-1", "eu-central-003") +S3_REGION= + +# Meilisearch configuration (for indexing) +MEILISEARCH_HOST=http://localhost:7700 +MEILISEARCH_MASTER_KEY=masterKey + +# Meilisearch configuration (for frontend - optional) +# Only set VITE_MEILISEARCH_HOST if you want to use Meilisearch search in the browser +# Leave empty to use client-side Fuse.js search instead +VITE_MEILISEARCH_HOST=https://search.x.noz.one + +# Search-only API key for frontend (read-only access) +VITE_MEILISEARCH_DEFAULT_SEARCH_KEY=3266e98f431f6e28db4c804bd4d6b95fc43c8510a693969ef76d5ec3ec62a204
\ No newline at end of file |
