Skip to content

Commit 096a136

Browse files
committed
2 parents 216ebd6 + 0e743fa commit 096a136

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ build/
66

77
### Environment Variables ###
88
application-local.env
9+
.env
10+
911

1012
### STS ###
1113
.apt_generated

src/main/resources/application.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ spring:
88
options:
99
model: gpt-4o-mini
1010
datasource:
11-
url: ${DB_URL}
12-
username: ${DB_USERNAME}
13-
password: ${DB_PASSWORD}
11+
url: ${DB_URL:jdbc:postgresql://postgresql.database.svc.cluster.local:5432/koscomdb}
12+
username: ${DB_USERNAME:admin}
13+
password: ${DB_PASSWORD:adminpassword}
1414
jpa:
1515
hibernate:
16-
ddl-auto: validate
16+
ddl-auto: update
1717
show-sql: true
1818
properties:
1919
hibernate:
@@ -27,14 +27,14 @@ logging:
2727

2828
naver:
2929
api:
30-
client-id: ${NAVER_CLIENT_ID}
31-
client-secret: ${NAVER_CLIENT_SECRET}
32-
base-url: https://openapi.naver.com
30+
client-id: ${NAVER_CLIENT_ID:XDfkw7nEXh_TSWWWbYBy}
31+
client-secret: ${NAVER_CLIENT_SECRET:A6wJY6CriE}
32+
base-url: ${NAVER_BASE_URL:https://openapi.naver.com}
3333
news-search-path: /v1/search/news.json
3434

3535
crawler:
3636
delay-ms: 200 # 크롤링 요청 간 최소 딜레이 (밀리초)
3737

3838
news:
3939
analyze:
40-
base-url: ${NEWS_ANALYZE_BASE_URL}
40+
base-url: ${NEWS_ANALYZE_BASE_URL:http://koslink-ai-app:8000}

0 commit comments

Comments
 (0)