Skip to content

Commit

Permalink
chore : s3 버킷 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
qogustj committed Oct 7, 2023
1 parent 6c63b79 commit 1b329e4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main

env:

AWS_REGION: ap-northeast-2
S3_BUCKET_NAME: st-github-actions-s3-bucket
CODE_DEPLOY_APPLICATION_NAME: st-codedeploy-app
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ dependencies {
//db
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'mysql:mysql-connector-java:8.0.33'

//aws
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
}

tasks.named('test') {
Expand Down
26 changes: 17 additions & 9 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
server:
port: 8080

cloud:
aws:
s3:
endpoint: https://s3.amazonaws.com
credentials:
access-key: AKIAQUM7QY6SGL7KBCSX
secret-key: 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
bucket: url-qogustj
region:
static: ap-northeast-2
stack:
auto: false

spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
Expand All @@ -13,12 +26,7 @@ spring:
ddl-auto: update
properties:
hibernate.format_sql: true
security:
oauth2:
client:
registration:
google:
client-id: 799333127259-2e22vu6n71ctc579itbpvpdivoa8am99.apps.googleusercontent.com
client-secret: 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
redirect-uri: http://localhost:8080/login/oauth2/code/google
scope: email, profile
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB

0 comments on commit 1b329e4

Please sign in to comment.