-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (26 loc) · 1.05 KB
/
Copy path.env.example
File metadata and controls
34 lines (26 loc) · 1.05 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
# ============================================================
# FinTrack Pro — Environment Variables
# Copy this file to .env and fill in your values.
# NEVER commit .env to git.
# ============================================================
# --- Database (PostgreSQL) ---
DB_NAME=fintrackdb
DB_USER=postgres
DB_PASSWORD=your_strong_db_password_here
# --- Redis ---
REDIS_HOST=localhost
REDIS_PORT=6379
# --- Backend server port (default: 8081) ---
PORT=8081
# --- JWT ---
# Must be at least 32 characters long
JWT_SECRET=your-super-secret-jwt-key-minimum-32-chars-long
# --- Admin account (created automatically on first startup) ---
ADMIN_EMAIL=admin@fintrack.com
ADMIN_PASSWORD=your_strong_admin_password_here
# --- CORS (comma-separated list of allowed frontend origins) ---
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
# --- Cache (set to 'none' to disable Redis caching, e.g. for local dev without Redis) ---
SPRING_CACHE_TYPE=redis
# --- Frontend API URL (used by docker-compose frontend service) ---
VITE_API_URL=http://localhost:8080