-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.staging.example
More file actions
52 lines (41 loc) · 1.63 KB
/
Copy path.env.staging.example
File metadata and controls
52 lines (41 loc) · 1.63 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Jobhunter local staging environment
# Copy to ".env.staging" and run:
# docker compose --env-file .env.staging -f docker-compose.yml -f docker-compose.staging.yml up --build
COMPOSE_PROJECT_NAME=jobhunter-staging
FRONTEND_PORT=3101
BACKEND_PORT=8180
DB_PORT=3317
MYSQL_DATABASE=jobhunter_staging
MYSQL_USER=jobhunter_staging
MYSQL_PASSWORD=jobhunter_staging
MYSQL_ROOT_PASSWORD=staging-root-change-me
TZ=Asia/Ho_Chi_Minh
SPRING_PROFILES_ACTIVE=staging,docker
SON_JPA_DDL_AUTO=none
FLYWAY_ENABLED=true
JOBHUNTER_SEED_ENABLED=true
JOBHUNTER_BOOTSTRAP_ADMIN_ENABLED=true
JOBHUNTER_BOOTSTRAP_ADMIN_EMAIL=admin-staging@jobhunter.local
JOBHUNTER_BOOTSTRAP_ADMIN_PASSWORD=change-this-staging-password
JOBHUNTER_BOOTSTRAP_ADMIN_NAME=Staging Admin
CORS_ALLOWED_ORIGINS=http://localhost:3101,http://127.0.0.1:3101
JWT_BASE64_SECRET=g/AYKfaK6dDKXZFgopotLApRTC79KZo9uIWfWCXH/bKPDt3TgG4jEX5Dm+hboY2TJmEuyVPXbSrNpvgD/SGu4A==
JWT_ACCESS_TOKEN_TTL=900
JWT_REFRESH_TOKEN_TTL=604800
JWT_COOKIE_SECURE=false
JWT_COOKIE_SAME_SITE=Lax
PASSWORD_RESET_DEV_TOKEN_ENABLED=true
NEXT_PUBLIC_API_BASE_URL=http://localhost:8180
NEXT_PUBLIC_STORAGE_BASE_URL=http://localhost:8180
INTERNAL_API_BASE_URL=http://backend:8080
MAIL_ENABLED=false
MAIL_TEMPLATE_PORTAL_URL=http://localhost:3101
JOBHUNTER_PUBLIC_API_URL=http://localhost:8180
MANAGEMENT_HEALTH_MAIL_ENABLED=false
JOBHUNTER_PROD_GUARD_ENABLED=true
JOBHUNTER_UNSAFE_METHOD_HEADER_ENABLED=true
JOBHUNTER_RATE_LIMIT_ENABLED=true
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE=health,info,prometheus,metrics
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS=always
BACKEND_IMAGE=jobhunter-backend:staging
FRONTEND_IMAGE=jobhunter-frontend:staging