-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (24 loc) · 1.14 KB
/
.env.example
File metadata and controls
29 lines (24 loc) · 1.14 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
# ═══════════════════════════════════════════════
# Fochus — Environment Configuration
# ═══════════════════════════════════════════════
# Copy this file to .env and customize if needed.
# All variables have safe defaults — you can run
# `docker-compose up -d --build` without any .env!
# ═══════════════════════════════════════════════
# Host port mappings (change if ports are already in use)
BACKEND_HOST_PORT=3001
FRONTEND_HOST_PORT=3000
# Backend — JWT
# Leave empty to auto-generate a secure random secret on first run
JWT_SECRET=
JWT_EXPIRES_IN=7d
# Backend — Security
# Set to false to disable new user registration
ALLOW_REGISTRATION=true
NODE_ENV=production
CORS_ORIGIN=http://localhost:3000
# Google OAuth (optional — both frontend and backend use this)
GOOGLE_CLIENT_ID=
VITE_GOOGLE_CLIENT_ID=
# Frontend — API URL
VITE_API_URL=http://localhost:3001/api