diff --git a/backend/src/main/resources/application-dev.properties b/backend/src/main/resources/application-dev.properties index 6dcf0075..738fc891 100644 --- a/backend/src/main/resources/application-dev.properties +++ b/backend/src/main/resources/application-dev.properties @@ -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 diff --git a/backend/src/main/resources/application-prod-test.properties b/backend/src/main/resources/application-prod-test.properties index 0e6d62b7..363ebd72 100644 --- a/backend/src/main/resources/application-prod-test.properties +++ b/backend/src/main/resources/application-prod-test.properties @@ -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 diff --git a/backend/src/main/resources/application-prod.properties b/backend/src/main/resources/application-prod.properties index d1c3b543..93dfa2b7 100644 --- a/backend/src/main/resources/application-prod.properties +++ b/backend/src/main/resources/application-prod.properties @@ -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 diff --git a/backend/src/test/resources/application.properties b/backend/src/test/resources/application.properties index e5d88d3a..c8b4a265 100644 --- a/backend/src/test/resources/application.properties +++ b/backend/src/test/resources/application.properties @@ -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/