Skip to content

Commit

Permalink
feat :: add s3 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
4mjeo committed Feb 4, 2024
1 parent b9b0d7d commit 4f20af9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ dependencies {

// logging
implementation("io.github.microutils:kotlin-logging-jvm:2.0.10")

//aws
implementation("com.amazonaws:aws-java-sdk-s3:1.12.232")

}

tasks.withType<KotlinCompile> {
Expand Down
13 changes: 9 additions & 4 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ spring:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT}
database: 1
jackson:
property-naming-strategy: SNAKE_CASE
properties:
Expand All @@ -20,11 +19,17 @@ jwt:
secret-key: ${JWT_SECRET}
access-exp: ${ACCESS_EXP}
refresh-exp: ${REFRESH_EXP}

server:
servlet:
context-path: /merge

logging:
level:
root: info
root: info
cloud:
aws:
s3:
bucket: ${BUCKET}
dir: ${DIRECTORY}
accessKey: ${ACCESS_KEY}
secretKey: ${SECRET_KEY}
region: ap-northeast-2

0 comments on commit 4f20af9

Please sign in to comment.