-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication-dev.yml
More file actions
45 lines (39 loc) · 925 Bytes
/
application-dev.yml
File metadata and controls
45 lines (39 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
spring:
# config:
# import: "classpath:.env" # .env 파일을 로드
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://db:3306/mydb
username: ${SPRING_DATASOURCE_USERNAME}
password: ${SPRING_DATASOURCE_PASSWORD}
jpa:
database-platform: org.hibernate.dialect.MySQL8Dialect
hibernate:
ddl-auto: none
web:
cors:
allowed-origins: "http://localhost:5173"
allowed-methods: GET, POST, PATCH, DELETE, PUT
allowed-headers: "*"
allow-credentials: true
servlet:
multipart:
max-file-size: 20MB
max-request-size: 20MB
server:
port: 8080
address: 0.0.0.0
잠시 보류
cloud:
aws:
s3:
bucket: umc-server
path:
photo: photos
region:
static: ap-northeast-2
stack:
auto: false
credentials:
accessKey: ${AWS_ACCESS_KEY}
secretKey: ${AWS_SECRET_ACCESS_KEY}