Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hrsystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
hrsystem
Commits
51fe0dc0
Commit
51fe0dc0
authored
Apr 02, 2026
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update backend/.env.example via Son of Anton
parent
f8570f79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
22 deletions
+12
-22
.env.example
backend/.env.example
+12
-22
No files found.
backend/.env.example
View file @
51fe0dc0
# ============================================
# THE GRIND — Backend Environment Variables
# ============================================
# Application
NODE_ENV=development
PORT=3001
FRONTEND_URL=http://localhost:3000
API_PREFIX=api
CORS_ORIGINS=http://localhost:3000
# Database
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/thegrind?schema=public
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/thegrind?schema=public
# Redis
# Redis
REDIS_HOST=localhost
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PORT=6379
# REDIS_PASSWORD=
REDIS_PASSWORD=
REDIS_DB=0
# JWT
# JWT
JWT_SECRET=CHANGE_ME_
IN_PRODUCTION_OR_GET_HACKED_YOU_IDIOT
JWT_SECRET=CHANGE_ME_
TO_A_RANDOM_64_CHAR_STRING_IN_PRODUCTION
JWT_ACCESS_EXPIRY=15m
JWT_ACCESS_EXPIRY=15m
JWT_REFRESH_EXPIRY=7d
JWT_REFRESH_EXPIRY=7d
JWT_REFRESH_EXPIRY_DAYS=7
JWT_REFRESH_EXPIRY_DAYS=7
# MinIO (S3-compatible storage)
# App
PORT=3001
NODE_ENV=development
FRONTEND_URL=http://localhost:3000
CORS_ORIGINS=http://localhost:3000
API_PREFIX=api
# MinIO
MINIO_ENDPOINT=localhost
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_PORT=9000
MINIO_USE_SSL=false
MINIO_USE_SSL=false
...
@@ -32,12 +27,7 @@ MINIO_ACCESS_KEY=minioadmin
...
@@ -32,12 +27,7 @@ MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=hr-files
MINIO_BUCKET=hr-files
# Upload Limits
# Session
MAX_FILE_SIZE_BYTES=26214400
MAX_PROFILE_PHOTO_SIZE_BYTES=5242880
# Session & Security
SESSION_TIMEOUT_HOURS=8
SESSION_TIMEOUT_HOURS=8
MAX_LOGIN_ATTEMPTS=5
MAX_LOGIN_ATTEMPTS=5
LOCKOUT_DURATION_MINUTES=30
LOCKOUT_DURATION_MINUTES=30
\ No newline at end of file
MAX_DAILY_LOGIN_ATTEMPTS=15
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment