-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (31 loc) · 1.27 KB
/
.env.example
File metadata and controls
41 lines (31 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Cabby environment configuration (example)
#
# Copy this file to `.env` and adjust the values for your environment.
# The application reads configuration exclusively from environment variables.
#
############################
# Core application settings
############################
# Absolute path where Cabby stores files.
FILE_STORAGE_PATH=/absolute/path/to/storage
# Optional absolute path for the image transformation cache.
# If not set, defaults to "${FILE_STORAGE_PATH}/.cache".
FILE_CACHE_PATH=/absolute/path/to/cache
# When false (or 0/no/off), the management UI at /, /upload, and /file/* is disabled (404).
# GET/POST /files/* and POST /upload keep working. Defaults to enabled when unset.
ENABLE_WEB_UI=true
# Token required for write operations (upload and delete).
# Clients must send it via the Authorization header (either `Bearer <token>` or just `<token>`).
WRITE_AUTH_TOKEN=change-me
# Network configuration for the HTTP server.
# Nitro / TanStack Start reads PORT (and optionally HOST).
PORT=3000
HOST=0.0.0.0
############################
# Reserved for future use
############################
# Database connection string (not used yet, reserved for future features).
DB_URL=
# Cache / message broker URL (not used yet, reserved for future features).
REDIS_URL=