Skip to content

Commit

Permalink
setting: DB설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed May 18, 2024
1 parent 0ed950b commit 6ed04ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {


// runtimeOnly 'com.mysql:mysql-connector-j'
// runtimeOnly 'org.postgresql:postgresql'
runtimeOnly 'org.postgresql:postgresql'

annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ spring:
activate:
on-profile: dev
datasource:
driver-class-name:
url: jdbc:postgresql://${DEV_DB_ENDPOINT}:5432/postgres
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${DEV_DB_ENDPOINT}:5432/postgres?currentSchema=${DEV_DB_SCHEMA}
username: ${DEV_DB_USERNAME}
password: ${DEV_DB_PASSWORD}
jpa:
Expand All @@ -27,6 +27,6 @@ logging:

aws-property:
s3-bucket-name: ${S3_BUCKET_NAME}
s3-region: ${S3_REGION}
s3-access-key: ${S3_ACCESS_KEY}
s3-secret-key: ${S3_SECRET_KEY}
aws-region: ${S3_REGION}
access-key: ${S3_ACCESS_KEY}
secret-key: ${S3_SECRET_KEY}

0 comments on commit 6ed04ae

Please sign in to comment.