-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (30 loc) · 986 Bytes
/
.env.example
File metadata and controls
36 lines (30 loc) · 986 Bytes
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
# === Server ===
SERVER_PORT=8080
CORS_ORIGIN=http://localhost:4200
SITE_URL=http://localhost:8080
# === Database ===
DATABASE_URL=postgres://blog:blogpass@localhost:5432/blog?sslmode=disable
# === Auth (Google OAuth) ===
JWT_SECRET=change-me-to-a-random-secret
GOOGLE_CLIENT_ID=xxxxxxxxxxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-xxxxxxxxxxxx
GOOGLE_REDIRECT_URI=http://localhost:8080/api/auth/google/callback
ADMIN_EMAIL=your@gmail.com
# === AI ===
GEMINI_API_KEY=
ANTHROPIC_API_KEY=
GEMINI_MODEL=gemini-3-flash-preview
CLAUDE_MODEL=claude-sonnet-4-6
# === Notifications (optional — empty = noop) ===
LINE_CHANNEL_TOKEN=
LINE_USER_ID=
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# === Cloudflare R2 (S3-compatible object storage) ===
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_ENDPOINT=https://<ACCOUNT_ID>.r2.cloudflarestorage.com
R2_BUCKET=blog
R2_PUBLIC_URL=https://pub-xxxxxxxxxxxx.r2.dev
# === Mock mode (set to "true" to disable AI calls) ===
# MOCK_MODE=true