-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 1.31 KB
/
Copy path.env.example
File metadata and controls
44 lines (37 loc) · 1.31 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
# Database
DATABASE_URL="file:./dev.db"
# Auth
AUTH_SECRET="change-this-to-a-long-random-string"
# Use "true" after HTTPS is enabled. Plain HTTP deployments need "false" so login cookies work.
AUTH_COOKIE_SECURE="false"
# Mail
SMTP_HOST="smtps.hiworks.com"
SMTP_PORT="465"
SMTP_USER="bot@example.com"
SMTP_PASS="app-password"
MAIL_FROM="bot@example.com"
# Social login
# Redirect URLs:
# - https://your-domain/g2breport/api/auth/oauth/google/callback
# - https://your-domain/g2breport/api/auth/oauth/naver/callback
# - https://your-domain/g2breport/api/auth/oauth/kakao/callback
GOOGLE_OAUTH_CLIENT_ID=""
GOOGLE_OAUTH_CLIENT_SECRET=""
NAVER_OAUTH_CLIENT_ID=""
NAVER_OAUTH_CLIENT_SECRET=""
KAKAO_REST_API_KEY=""
# Only set this if Kakao Client Secret is enabled in Kakao Developers.
KAKAO_CLIENT_SECRET=""
# Official 나라장터 Open API
G2B_API_SERVICE_KEY=""
G2B_API_LOOKBACK_DAYS="30"
G2B_API_NUM_ROWS="100"
G2B_API_MAX_PAGES_PER_ENDPOINT="10"
G2B_API_CONCURRENCY="4"
# Scheduler
ENABLE_INTERNAL_SCHEDULER="false"
INTERNAL_JOB_TOKEN="change-me-to-a-long-random-token"
# Optional runtime base URL for external cron examples
APP_BASE_URL="http://localhost:3000/g2breport"
# Health: GET /g2breport/api/health (DB 연결만). 카운트 포함: GET /g2breport/api/health?detailed=1
# + Header: Authorization: Bearer <INTERNAL_JOB_TOKEN>