-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (37 loc) · 1.7 KB
/
Copy path.env.example
File metadata and controls
41 lines (37 loc) · 1.7 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
41
# Copy to .env | Generate secret: openssl rand -hex 32
#
# Environments: this is the shared base. Per-profile overrides live in
# .env.dev / .env.test / .env.prod (see the matching .env.<env>.example files).
# Select a profile by exporting APP_ENV in your shell or platform (dev is the
# default), e.g. APP_ENV=prod. The base .env loads first, then .env.<APP_ENV>
# overrides it.
SECRET_KEY=
DATABASE_URL=sqlite:///./become.db
# Railway Storage Bucket (S3-compatible; photo upload disabled if not set).
# On Railway these are auto-injected when a bucket is attached to the service.
# API_PUBLIC_URL is the API's own public origin, used to build photo proxy links.
# API_PUBLIC_URL=http://localhost:8000
# BUCKET_NAME=become-photos
# BUCKET_ENDPOINT=https://storage.railway.app
# BUCKET_ACCESS_KEY_ID=...
# BUCKET_SECRET_ACCESS_KEY=...
# Logging
# LOG_LEVEL sets verbosity (DEBUG/INFO/WARNING/ERROR/CRITICAL, case-insensitive);
# default INFO. An unsupported value is rejected when settings load.
# Dev emits human-readable text; test/prod emit JSON for the Railway log drain.
# LOG_FILE, when set, also writes rotating log files to that path.
# LOG_LEVEL=INFO
# LOG_FILE=
# Observability (Sentry error tracking; disabled when unset)
# SENTRY_DSN is the backend DSN from your Sentry FastAPI project.
# VITE_SENTRY_DSN is the frontend DSN (build-time; lives in the frontend env).
# SENTRY_DSN=
# VITE_SENTRY_DSN=
# VITE_APP_ENV tags the frontend Sentry environment (dev/test/prod); set per frontend service.
# VITE_APP_ENV=
# Better Stack backend log shipping (both required to enable; from your Better Stack source).
# BETTERSTACK_SOURCE_TOKEN=
# BETTERSTACK_INGESTING_HOST=
# Optional
# DEBUG=false
# CORS_ORIGINS=["http://localhost:5173"]