Updated and remove files

This commit is contained in:
Sambo Chea 2020-06-24 10:32:39 +07:00
parent 7e29dca769
commit 178ae865df
3 changed files with 27 additions and 0 deletions

3
.gitignore vendored
View File

@ -5,6 +5,9 @@ build/
!**/src/main/**
!**/src/test/**
application-mysql.yml
application-postgres.yml
### STS ###
.apt_generated
.classpath

View 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

View 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