-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (52 loc) · 2.8 KB
/
Copy path.env.example
File metadata and controls
61 lines (52 loc) · 2.8 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# ==============================================================================
# Rootly Configuration Template
# ==============================================================================
# ------------------------------------------------------------------------------
# Security & Authentication
# ------------------------------------------------------------------------------
# A long, cryptographically secure random string used to sign JWT access tokens.
# You can generate one using: openssl rand -hex 32
JWT_SECRET=change-this-to-a-long-random-string
# Access token lifetime in minutes (default: 60)
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Refresh token lifetime in days (default: 7)
REFRESH_TOKEN_EXPIRE_DAYS=7
# ------------------------------------------------------------------------------
# Database & Cache Configuration
# ------------------------------------------------------------------------------
# Password for the postgres database user (rootly)
POSTGRES_PASSWORD=change-this-password
# ------------------------------------------------------------------------------
# Environment & CORS Settings
# ------------------------------------------------------------------------------
# Set to true in production to enable Secure flags on cookies and hide verbose errors
PRODUCTION=false
# Comma-separated list of allowed CORS origins.
# Make sure to include http://localhost:5173 for local Vite dev server.
CORS_ORIGINS=http://localhost,http://localhost:5173
# ------------------------------------------------------------------------------
# Localization & Timezone Settings
# ------------------------------------------------------------------------------
# Application timezone for backend, database, and frontend (e.g. America/Los_Angeles, Europe/London, UTC)
TIMEZONE=America/Los_Angeles
# ------------------------------------------------------------------------------
# PlantBook API
# ------------------------------------------------------------------------------
# PlantBook supports two auth methods — configure ONE of the following:
#
# Option A — API-key (simpler, permanent token, never expires):
# Enable "Token" auth at https://open.plantbook.io/apikey/show/ and paste the key.
PLANTBOOK_API_KEY=
#
# Option B — OAuth2 client credentials (full API access):
# Generate a Client ID + Secret at https://open.plantbook.io/apikey/show/
PLANTBOOK_CLIENT_ID=
PLANTBOOK_CLIENT_SECRET=
#
# Leave all three blank to disable PlantBook features (search returns 503).
# ------------------------------------------------------------------------------
# PlantNet API (plant photo identification)
# ------------------------------------------------------------------------------
# Generate an API key at https://my.plantnet.org — free tier includes 500 req/day.
# Leave blank to disable the "Identify from photo" feature.
PLANTNET_API_KEY=