-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
70 lines (54 loc) · 2.01 KB
/
.env.example
File metadata and controls
70 lines (54 loc) · 2.01 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
# JWT
JWT_SECRET_KEY=your-jwt-secret-key-example-32chars!!
JWT_ACCESS_TOKEN_EXPIRATION_TIME=6000000
# Spring
SPRING_PROFILES_ACTIVE=dev
# Database
DATASOURCE_URL=jdbc:mysql://127.0.0.1:3306/koin?characterEncoding=utf8&useUnicode=true&mysqlEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
DATASOURCE_USERNAME=koin
DATASOURCE_PASSWORD=your-db-password
# Redis
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password
# MongoDB
MONGODB_URI=mongodb://koin:your-mongo-password@127.0.0.1:27017/koin?authSource=admin
# Swagger
SWAGGER_SERVER_URL=http://localhost:8080
# AWS SES
AWS_SES_ACCESS_KEY=test
AWS_SES_SECRET_KEY=test
# S3
S3_BUCKET=your-bucket-name
S3_CUSTOM_DOMAIN=https://static.example.com/
# Slack
SLACK_KOIN_EVENT_NOTIFY_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
SLACK_KOIN_OWNER_EVENT_NOTIFY_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
SLACK_KOIN_SHOP_REVIEW_NOTIFY_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
SLACK_KOIN_LOST_ITEM_NOTIFY_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
SLACK_LOGGING_ERROR_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
# Koin Admin
KOIN_ADMIN_SHOP_URL=https://admin.example.com/store
KOIN_ADMIN_REVIEW_URL=https://admin.example.com/review
# Open API
OPEN_API_KEY_PUBLIC=your-open-api-key-public
OPEN_API_KEY_TMONEY=your-open-api-key-tmoney
# FCM
FCM_KOIN_URL=example://
# Naver SMS
NAVER_ACCESS_KEY=your-naver-access-key
NAVER_SECRET_KEY=your-naver-secret-key
NAVER_SMS_API_URL=https://sens.apigw.ntruss.com
NAVER_SMS_SERVICE_ID=your-service-id
NAVER_SMS_FROM_NUMBER=01000000000
# CORS (콤마로 구분)
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,https://example.com
# CloudFront
CLOUDFRONT_DISTRIBUTION_ID=test
CLOUDFRONT_REGION=ap-northeast-2
# Address API
ADDRESS_API_URL=https://business.juso.go.kr/addrlink/addrLinkApi.do
ADDRESS_API_KEY=your-address-api-key
# Toss Payment
TOSS_PAYMENT_SECRET_KEY=test_sk_your-toss-secret-key
TOSS_PAYMENT_API_BASE_URL=https://api.tosspayments.com/v1/payments