Skip to content

Commit

Permalink
�refactor/#545 s3 설정 외부로 (#546)
Browse files Browse the repository at this point in the history
* refactor: s3 설정 외부로 변경

* refactor: 필요없는 설정 삭제
  • Loading branch information
hectick authored Nov 17, 2023
1 parent 79409c5 commit e2dfa4d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion backend/src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ spring.datasource.username=sa
spring.h2.console.enabled=true
image.root-dir=src/main/resources/static/images/
image.domain=http://localhost:8080/images/
file.dir=src/main/resources/static/img/test_store/
file.firebaseTokenDir=src/main/resources/firebase/edonymyeon-firebase.json
spring.servlet.multipart.max-file-size=20MB
spring.servlet.multipart.max-request-size=200MB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ spring.jpa.hibernate.ddl-auto=validate
image.root-dir=src/main/resources/static/images/
image.domain=http://localhost:8080/images/
file.firebaseTokenDir=src/main/resources/firebase/edonymyeon-firebase.json
file.dir=src/main/resources/static/img/test_store/
spring.servlet.multipart.max-file-size=20MB
spring.servlet.multipart.max-request-size=200MB
spring.jpa.open-in-view=false
Expand Down
7 changes: 2 additions & 5 deletions backend/src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ spring.jpa.database=mysql
file.firebaseTokenDir=/home/ubuntu/2023-edonymyeon/resources/edonymyeon-firebase.json

# IMAGE FILE
s3.bucket=2023-team-project
image.root-dir=2023-edonymyeon/${SERVER_TYPE}/images/
s3.bucket=${BUCKET_NAME}
image.root-dir=${IMAGE_ROOT_DIRECTORY}
image.domain=${IMAGE_DOMAIN}

# ORIGINAL IMAGE RESOURCE PATH FOR MIGRATION
file.dir=/home/ubuntu/2023-edonymyeon/resources/

# MULTIPART
spring.servlet.multipart.max-file-size=20MB
spring.servlet.multipart.max-request-size=200MB
Expand Down
1 change: 0 additions & 1 deletion backend/src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
file.dir=src/test/resources/static/img/test_store/
file.firebaseTokenDir=src/main/resources/firebase/edonymyeon-firebase.json
image.root-dir=src/test/resources/static/images/
image.domain=http://edonymyeon.site/images/
Expand Down

0 comments on commit e2dfa4d

Please sign in to comment.