Skip to content

Commit 0eb701a

Browse files
committed
♻️ refactor: application.yml 최신화
1 parent 9dbc553 commit 0eb701a

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

src/main/resources-env/prod/application.yml

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ server:
33

44
spring:
55
datasource:
6-
url: ${sm://db-url}
7-
username: ${sm://db-username}
8-
password: ${sm://db-password}
6+
url: ${DB_URL}
7+
username: ${MYSQL_USER}
8+
password: ${MYSQL_PASSWORD}
99
hikari:
1010
connection-timeout: 30000
1111
maximum-pool-size: 10
@@ -26,10 +26,10 @@ spring:
2626
lifecycle-management: start-only
2727
data:
2828
redis:
29-
host: ${sm://redis-host}
30-
port: ${sm://redis-port}
29+
host: ${REDIS_HOST}
30+
port: ${REDIS_PORT}
31+
password: ${REDIS_PASSWORD}
3132
username: default
32-
password: ${sm://redis-password}
3333
ssl:
3434
enabled: true
3535
security:
@@ -38,19 +38,19 @@ spring:
3838
registration:
3939
google:
4040
client-name: google
41-
client-id: ${sm://google-client-id}
42-
client-secret: ${sm://google-client-secret}
43-
redirect-uri: "https://api.ittaeok.com/login/oauth2/code/{registrationId}" # SM 붙이기
41+
client-id: ${GOOGLE_CLIENT_ID}
42+
client-secret: ${GOOGLE_CLIENT_SECRET}
43+
redirect-uri: ${OAUTH_REDIRECT_URI}
4444
authorization-grant-type: authorization_code
4545
scope:
4646
- openid
4747
- email
4848
- profile
4949
kakao:
5050
client-name: kakao
51-
client-id: ${sm://kakao-client-id}
52-
client-secret: ${sm://kakao-client-secret}
53-
redirect-uri: "https://api.ittaeok.com/login/oauth2/code/{registrationId}" # SM 붙이기
51+
client-id: ${KAKAO_CLIENT_ID}
52+
client-secret: ${KAKAO_CLIENT_SECRET}
53+
redirect-uri: ${OAUTH_REDIRECT_URI}
5454
authorization-grant-type: authorization_code
5555
client-authentication-method: client_secret_post
5656
scope:
@@ -67,22 +67,21 @@ springdoc:
6767
jwt:
6868
expiration: 604800000
6969
refresh-expiration: 704800000
70-
secret: ${sm://jwt-secret}
70+
secret: ${JWT_SECRET}
7171
google:
7272
calendar:
73-
client-id: ${sm://google-client-id}
74-
client-secret: ${sm://google-client-secret}
75-
redirect-uri: "https://api.ittaeok.com/oauth2/callback/google-calendar" # SM 붙이기
73+
client-id: ${google-client-id}
74+
client-secret: ${google-client-secret}
75+
redirect-uri: ${google-calendar_redirect_uri}
7676
api:
77-
key: ${sm://google-api-key}
77+
key: ${GOOGLE_API_KEY}
7878
zoom:
79-
client-id: ${sm://zoom-client-id}
80-
client-secret: ${sm://zoom-client-secret}
81-
redirect-uri: ${sm://zoom-redirect-uri}
82-
refresh-token: ${sm://zoom-refresh-token}
79+
account-id: ${ZOOM_ACCOUNT_ID}
80+
client-id: ${ZOOM_CLIENT_ID}
81+
client-secret: ${ZOOM_CLIENT_SECRET}
8382
kakao:
8483
middle-location:
85-
api-key: ${sm://kakao-api-key}
84+
api-key: ${KAKAO_API_KEY}
8685
logging:
8786
level:
8887
org.springframework.cloud.gcp.secretmanager: DEBUG
@@ -95,8 +94,8 @@ logging:
9594
sql: info
9695

9796
url:
98-
backend: https://backend.ittaeok.com # SM 붙이기
97+
backend: ${GCP_IP}
9998
front-server:
100-
domain-A: https://ittaeok.com # SM 붙이기
101-
domain-B: https://www.ittaeok.com # SM 붙이기
102-
redirect-url: https://ittaeok.com/auth/callback # SM 붙이기
99+
domain-A: ${FRONT_DOMAIN_A}
100+
domain-B: ${FRONT_DOMAIN_B}
101+
redirect-url: ${FRONT_CALLBACK}

0 commit comments

Comments
 (0)