-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (25 loc) Β· 1.42 KB
/
Copy path.env.example
File metadata and controls
31 lines (25 loc) Β· 1.42 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
# βββ Database ββββββββββββββββββββββββββββββββββ
DB_HOST=localhost
DB_PORT=3306
DB_NAME=starterkit
DB_USERNAME=starterkit
DB_PASSWORD=your_db_password_here
DB_ROOT_PASSWORD=your_root_password_here
# βββ JWT βββββββββββββββββββββββββββββββββββββββ
# Generate with: openssl rand -base64 64
JWT_SECRET=your-super-secret-jwt-key-at-least-256-bits-long-change-this
JWT_ACCESS_EXPIRY=900000 # 15 minutes in ms
JWT_REFRESH_EXPIRY=604800000 # 7 days in ms
# βββ CORS ββββββββββββββββββββββββββββββββββββββ
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# βββ Admin seed user βββββββββββββββββββββββββββ
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=Admin@1234
# βββ Spring ββββββββββββββββββββββββββββββββββββ
SPRING_PROFILES_ACTIVE=prod
# βββ Docker Hub (for CI/CD) ββββββββββββββββββββ
DOCKERHUB_USERNAME=yourusername
DOCKERHUB_TOKEN=your_dockerhub_token
# βββ EC2 (for deployment) ββββββββββββββββββββββ
EC2_HOST=your.ec2.ip.address
EC2_USER=ubuntu