Updated and remove files
This commit is contained in:
parent
7e29dca769
commit
178ae865df
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,6 +5,9 @@ build/
|
||||
!**/src/main/**
|
||||
!**/src/test/**
|
||||
|
||||
application-mysql.yml
|
||||
application-postgres.yml
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
|
12
src/main/resources/application-mysql.yml.example
Normal file
12
src/main/resources/application-mysql.yml.example
Normal file
@ -0,0 +1,12 @@
|
||||
server:
|
||||
port: 8081
|
||||
|
||||
spring:
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
username: root
|
||||
password: root
|
||||
url: jdbc:mysql://192.168.0.150:3306/demo
|
12
src/main/resources/application-postgres.yml.example
Normal file
12
src/main/resources/application-postgres.yml.example
Normal file
@ -0,0 +1,12 @@
|
||||
server:
|
||||
port: 8081
|
||||
|
||||
spring:
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
username: root
|
||||
password: root
|
||||
url: jdbc:postgresql://${POSTGRES_HOST:192.168.0.150}:5432/demo
|
Loading…
Reference in New Issue
Block a user