.env.example from ignore
This commit is contained in:
parent
179536a32e
commit
c0e2f0d8d0
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,7 +3,6 @@ __pycache__/
|
|||
*.sqlite3
|
||||
*.db
|
||||
.env
|
||||
.env.*
|
||||
.vscode/
|
||||
.idea/
|
||||
.DS_Store
|
||||
|
|
|
|||
18
backend/.env.example
Normal file
18
backend/.env.example
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Alabuga Gamification API Environment Variables
|
||||
|
||||
# Debug mode (enables auto-creation of demo users)
|
||||
ALABUGA_DEBUG=true
|
||||
|
||||
# Security settings
|
||||
ALABUGA_SECRET_KEY=super-secret-key-change-me-in-production
|
||||
ALABUGA_JWT_ALGORITHM=HS256
|
||||
ALABUGA_ACCESS_TOKEN_EXPIRE_MINUTES=720
|
||||
|
||||
# Email confirmation settings
|
||||
ALABUGA_REQUIRE_EMAIL_CONFIRMATION=false
|
||||
|
||||
# Database settings
|
||||
ALABUGA_SQLITE_PATH=/data/app.db
|
||||
|
||||
# CORS settings (JSON array format)
|
||||
ALABUGA_BACKEND_CORS_ORIGINS=["http://localhost:3000", "http://frontend:3000", "http://0.0.0.0:3000"]
|
||||
11
frontend/.env.example
Normal file
11
frontend/.env.example
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Alabuga Gamification Frontend Environment Variables
|
||||
|
||||
# API URLs
|
||||
NEXT_PUBLIC_API_URL=http://localhost:8000
|
||||
NEXT_INTERNAL_API_URL=http://backend:8000
|
||||
|
||||
# Demo credentials
|
||||
NEXT_PUBLIC_DEMO_EMAIL=candidate@alabuga.space
|
||||
NEXT_PUBLIC_DEMO_PASSWORD=orbita123
|
||||
NEXT_PUBLIC_DEMO_HR_EMAIL=hr@alabuga.space
|
||||
NEXT_PUBLIC_DEMO_HR_PASSWORD=orbita123
|
||||
Loading…
Reference in New Issue
Block a user