Skip to content

Commit c476489

Browse files
committed
Docs: 초기 설정을 위한 example 양식 변경
1 parent 572c26d commit c476489

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### resource ###
2+
src/main/resources/application.yaml
23
src/main/resources/application-prod.yaml
34
src/main/resources/application-dev.yaml
4-
src/main/resources/application-openapi.yaml
55

66
HELP.md
77
.gradle
@@ -40,7 +40,4 @@ out/
4040

4141
### VS Code ###
4242
.vscode/
43-
44-
/src/main/resources/application.*
45-
4643
.env

src/main/resources/application-dev.yaml.example

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ spring:
55
password: {pw}
66
driver-class-name: com.mysql.cj.jdbc.Driver
77

8-
jpa:
8+
jpa:
99
hibernate:
10-
ddl-auto: validate
10+
ddl-auto: create
1111
properties:
1212
hibernate:
1313
format_sql: true
14+
show-sql: false
1415

1516
data:
1617
redis:
@@ -20,6 +21,6 @@ spring:
2021
timeout: 10s
2122

2223
jwt:
23-
secret: testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
24-
access-expiration-time: 86400
24+
secret: 41386c3db6a3c794825df834ebb1bdf45a617a1b3b9c8baea7649bc0b8dd5e9b
25+
access-expiration-time: 1800000
2526
refresh-expiration-time: 604800000
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
spring:
22
datasource:
33
url: jdbc:mysql://localhost:3306/accommodation?serverTimezone=UTC&characterEncoding=UTF-8
4-
username: root
5-
password: kms900326
4+
username: {id}
5+
password: {pw}
66
driver-class-name: com.mysql.cj.jdbc.Driver
77

8-
jpa:
8+
jpa:
99
hibernate:
10-
ddl-auto: validate
10+
ddl-auto: create
1111
properties:
1212
hibernate:
1313
format_sql: true
14+
show-sql: false
1415

15-
jwt:
16-
secret: c3ByaW5nLWJvb3Qtc2VjdXJpdHktand0LXR1dG9yaWFsLWppd29vbi1zcHJpbmctYm9vdC1zZWN1cml0eS1qd3QtdHV0b3JpYWwK
16+
data:
17+
redis:
18+
host: 127.0.0.1
19+
port: 6379
20+
connect-timeout: 30s
21+
timeout: 10s
22+
23+
jwt:
24+
secret: 41386c3db6a3c794825df834ebb1bdf45a617a1b3b9c8baea7649bc0b8dd5e9b
25+
access-expiration-time: 1800000
26+
refresh-expiration-time: 604800000

0 commit comments

Comments
 (0)