-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (38 loc) Β· 2.37 KB
/
Copy path.env.example
File metadata and controls
46 lines (38 loc) Β· 2.37 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
# Han-Spoon Backend β λ‘컬 κ°λ°μ© νκ²½λ³μ
# set -a && source .env && set +a && ./gradlew bootRun
# ββ νλ‘νμΌ ββββββββββββββββββββββββββββββββββββββββββββββββ
# β prod λ₯Ό λ£μ§ λ§ κ². λ‘컬μμ RDSΒ·SSM μ μ°Ύλ€κ° κΈ°λμ μ€ν¨νλ€.
SPRING_PROFILES_ACTIVE=local
SERVER_PORT=8080
# ββ λ‘컬 DB βββββββββββββββββββββββββββββββββββββββββββββββββ
# docker compose -f docker/docker-compose.yml up -d postgres
LOCAL_DB_URL=jdbc:postgresql://localhost:5432/hanspoon
LOCAL_DB_USERNAME=hanspoon
LOCAL_DB_PASSWORD=hanspoon
# ββ μΈμ¦ ββββββββββββββββββββββββββββββββββββββββββββββββββββ
GOOGLE_CLIENT_ID=
# HS256 μλͺ
ν€. 32λ°μ΄νΈ μ΄μ λλ€ λ¬Έμμ΄: openssl rand -base64 48
JWT_SECRET=
# ββ AWS S3 ββββββββββββββββββββββββββββββββββββββββββββββββββ
S3_BUCKET=hanspoon-prod-images-917dedbe
AWS_REGION=ap-northeast-2
# MinIO λ± S3 νΈν μ€ν 리μ§λ₯Ό μΈ λλ§ μ±μ.
S3_ENDPOINT=
# ββ AI μλΉμ€ βββββββββββββββββββββββββββββββββββββββββββββββ
AI_SERVICE_BASE_URL=http://localhost:8000
AI_SERVICE_CONNECT_TIMEOUT=500ms
AI_OCR_READ_TIMEOUT=18s
AI_RULE_ENGINE_READ_TIMEOUT=2s
AI_RESULT_READ_TIMEOUT=7s
# λ‘컬 AIκ° S3 IAM μ‘°νλ₯Ό μ¬μ©νμ§ μμ λλ§ true.
AI_OCR_PRESIGNED_FALLBACK_ENABLED=true
# OCR/RuleEngine/Result μ 체 μμ
μ μννλ μ μ© λΉλκΈ° ν.
SCAN_ASYNC_CORE_POOL_SIZE=2
SCAN_ASYNC_MAX_POOL_SIZE=2
SCAN_ASYNC_QUEUE_CAPACITY=0
SCAN_STALE_AFTER=2m
SCAN_RECOVERY_INTERVAL_MS=60000
# ββ CORS ββββββββββββββββββββββββββββββββββββββββββββββββββββ
CORS_ALLOWED_ORIGINS="http://localhost:5173,https://han-spoon.site"
# ββ λ‘κ·Έ ββββββββββββββββββββββββββββββββββββββββββββββββββββ
LOG_FILE=logs/han-spoon-api-local.log