시큐리티 설정

유저 API - 로그인, 회원가입, 계정정보 추가
This commit is contained in:
2023-07-23 03:26:17 +09:00
parent 23506e79f1
commit f81f07bd05
36 changed files with 1247 additions and 0 deletions

View File

@@ -1 +1,67 @@
server:
shutdown: graceful
logging:
level:
com:
amazonaws:
util:
EC2MetadataUtils: error
cloud:
aws:
credentials:
accessKey: ${APP_AWS_ACCESS_KEY}
secretKey: ${APP_AWS_SECRET_KEY}
s3:
bucket: ${S3_BUCKET}
cloudFront:
host: ${CLOUD_FRONT_HOST}
region:
static: ap-northeast-2
stack:
auto: false
jwt:
header: Authorization
token-validity-in-seconds: ${JWT_TOKEN_VALIDITY_TIME}
secret: ${JWT_SECRET}
spring:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT}
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
jpa:
hibernate:
ddl-auto: validate
database: mysql
servlet:
multipart:
max-file-size: 1024MB
max-request-size: 1024MB
---
spring:
config:
activate:
on-profile: local
devtools:
restart:
enabled: true
livereload:
enabled: true
jpa:
properties:
hibernate:
show_sql: true
format_sql: true