diff --git a/backend/.gitignore b/backend/.gitignore index 7826039..44d2e86 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -4,7 +4,6 @@ build/ !gradle/wrapper/gradle-wrapper.jar !**/src/main/**/build/ !**/src/test/**/build/ -*.properties ### STS ### .apt_generated @@ -38,6 +37,4 @@ out/ .vscode/ ### Kotlin ### -.kotlin -src/main/resources/application.properties -src/main/resources/application.yml \ No newline at end of file +.kotlin \ No newline at end of file diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml new file mode 100644 index 0000000..0cce761 --- /dev/null +++ b/backend/src/main/resources/application.yml @@ -0,0 +1,15 @@ +server: + port: 8080 + +spring: + application: + name: PasteBook + data: + mongodb: + uri: ${SPRING_DATA_MONGODB_URI} + +s3: + url: ${R2_ENDPOINT} + accessKey: ${AWS_ACCESS_KEY_ID} + secretKey: ${AWS_SECRET_ACCESS_KEY} + bucket: ${R2_BUCKET} \ No newline at end of file