Skip to content

Commit 3e58e29

Browse files
committed
Chore: application-stg.yml 분리 및 mail host mailpit 사용(회원가입 테스트 용도)
1 parent 5d2afa0 commit 3e58e29

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
spring:
2+
datasource:
3+
driver-class-name: com.mysql.cj.jdbc.Driver
4+
url: ${MYSQL_PROD_URL}
5+
username: ${MYSQL_USERNAME}
6+
password: ${MYSQL_PASSWORD}
7+
8+
mail:
9+
host: mailpit
10+
port: 1025
11+
username:
12+
password:
13+
smtp-auth: false
14+
starttls-enable: false
15+
starttls-required: false
16+
connection-timeout: 5000
17+
timeout: 5000
18+
write-timeout: 5000
19+
20+
jpa:
21+
hibernate:
22+
ddl-auto: ${DDL_AUTO:validate}
23+
database-platform: org.hibernate.dialect.MySQL8Dialect
24+
show-sql: false
25+
properties:
26+
hibernate:
27+
format_sql: false
28+
use_sql_comments: false
29+
30+
server:
31+
port: 8080
32+
ssl:
33+
enabled: false
34+
forward-headers-strategy: framework
35+
servlet:
36+
session:
37+
cookie:
38+
name: ${SESSION_COOKIE_NAME}
39+
domain: ${SESSION_COOKIE_DOMAIN}
40+
secure: true
41+
same-site: None
42+
timeout: 24h # TODO: 테스트 완료 후 제거
43+
44+
springdoc:
45+
api-docs:
46+
path: /v3/api-docs
47+
swagger-ui:
48+
path: /swagger-ui.html
49+
enabled: true
50+
servers:
51+
- url: ${SWAGGER_SERVER_URL}
52+
description: Production Server
53+
54+
management:
55+
server:
56+
port: 9091
57+
endpoints:
58+
web:
59+
exposure:
60+
include: health,info,prometheus
61+
62+
metrics:
63+
distribution:
64+
percentiles:
65+
all: 0.5, 0.9, 0.99
66+
percentiles-histogram:
67+
http.server.requests: true
68+
hikaricp.connections.acquire: true
69+
method.timed: true

0 commit comments

Comments
 (0)