-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
70 lines (54 loc) · 1.71 KB
/
.env.example
File metadata and controls
70 lines (54 loc) · 1.71 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Environment Variables for KOSP Backend
# Copy this file to .env and fill in your actual values
# Spring Profile
SPRING_PROFILES_ACTIVE=local
# Encryption
ENCRYPTION_PASSWORD=your_44_character_base64_encoded_password_here
ENCRYPTION_SALT=your_32_character_hex_salt_here
# AWS Configuration
AWS_ACCESS_KEY=your_aws_access_key_here
AWS_SECRET_KEY=your_aws_secret_key_here
AWS_REGION=ap-northeast-2
AWS_S3_BUCKET=your-s3-bucket-name
AWS_S3_CUSTOM_DOMAIN=https://dev.static.swkoreatech.io
# JWT Configuration
JWT_SECRET_KEY=your_jwt_secret_key_minimum_64_characters_for_HS512_algorithm
# (ms) = 10 mins
JWT_EXPIRATION_ACCESS=600000
# (ms) = 30 days
JWT_EXPIRATION_REFRESH=2592000000
# (ms) = 30 mins
JWT_EXPIRATION_SIGNUP=1800000
# Database
DB_HOST=localhost
DB_PORT=5432
DB_NAME=kosp
DB_USERNAME=kosp
DB_PASSWORD=your_db_password
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password
# MongoDB
MONGODB_HOST=localhost
MONGODB_PORT=27017
MONGODB_DATABASE=kosp
MONGODB_USERNAME=kosp
MONGODB_PASSWORD=your_mongo_password
# RabbitMQ
RABBITMQ_HOST=localhost
RABBITMQ_USER=kosp
RABBITMQ_PASSWORD=your_rabbitmq_password
RABBITMQ_PORT=5672
# OAuth2 - GitHub
GITHUB_CLIENT_ID=your_github_oauth_client_id
GITHUB_CLIENT_SECRET=your_github_oauth_client_secret
# CORS
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
# GitHub API (for data collection test)
GITHUB_API_TOKEN=your_github_personal_access_token
# Slack Notifications
# ERROR-level logs are sent to this webhook
SLACK_LOGGING_ERROR_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
# Business event notifications (user signup, challenge completion, etc.)
SLACK_EVENT_NOTIFICATION_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL