Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chor: update database, redis cache connection configuration #28

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ spring:
google:
clientId: ${GOOGLE_CLIENT_ID}
clientSecret: ${GOOGLE_CLIENT_SECRET}
redirect-uri: "https://linakk.github.io"
scope:
- email
- profile
redirect-uri: "https://greennare-service-826313586778.us-central1.run.app/login/oauth2/code/google"
scope: email, profile
# - email
# - profile

cache:
type: redis

redis:
# cache:
host: 35.203.189.90
host: 34.45.8.145
port: 6379

datasource:
url: jdbc:mysql://35.203.189.90:3306/greennare?serverTimezone=Asia/Seoul
username: user-greennare
password: Manager1
# driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://34.173.185.16:3306/greennare?serverTimezone=Asia/Seoul
username: greennare-user
password: GreennareUser1
driver-class-name: com.mysql.cj.jdbc.Driver

jpa:
hibernate:
Expand Down
Loading