Skip to content

Commit

Permalink
[Chore] application.yml 추가
Browse files Browse the repository at this point in the history
파일 최대 크기 100MB로 설정
  • Loading branch information
ks1ksi committed Aug 31, 2023
1 parent 6664684 commit a76be9e
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ out/
/.nb-gradle/

/src/main/resources/application*.properties
/src/main/resources/application*.yml
#/src/main/resources/application*.yml

### VS Code ###
.vscode/
65 changes: 65 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
server:
port: ${PORT}
servlet:
session:
cookie:
secure: true
same-site: none
spring:
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
data:
redis:
jedis:
pool:
min-idle: 0
max-idle: 8
max-active: 8
port: 6379
host: redis
security:
oauth2:
client:
registration:
kakao:
client-id: ${KAKAO_CLIENT_ID}
client-secret: ${KAKAO_CLIENT_SECRET}
redirect-uri: ${KAKAO_REDIRECT_URI}
authorization-grant-type: authorization_code
scope:
- profile_nickname
- profile_image
- account_email
client-name: Kakao
client-authentication-method: POST
provider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorize
token-uri: https://kauth.kakao.com/oauth/token
user-info-uri: https://kapi.kakao.com/v2/user/me
user-name-attribute: id
datasource:
url: ${DATASOURCE_URL}
username: ${DATASOURCE_USERNAME}
password: ${DATASOURCE_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.MySQLDialect
jwt:
secret: ${JWT_SECRET}
aws:
credentials:
access-key: ${AWS_ACCESS_KEY_ID}
secret-key: ${AWS_SECRET_ACCESS_KEY}

s3:
bucket: ${AWS_S3_BUCKET_NAME}
region: ${AWS_REGION}

0 comments on commit a76be9e

Please sign in to comment.