4 Commits

Author SHA1 Message Date
eb9ac2cd79 Merge branch 'master' of https://github.com/CUBETIQ/backend-demo-training 2020-06-24 10:32:56 +07:00
178ae865df Updated and remove files 2020-06-24 10:32:39 +07:00
Sambo Chea
889fdb2459 Update application-postgres.yml 2020-06-24 10:27:29 +07:00
Sambo Chea
d761ce30f1 Update application-mysql.yml 2020-06-24 10:27:12 +07:00
5 changed files with 33 additions and 6 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

@@ -7,6 +7,6 @@ spring:
ddl-auto: update
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
username: cubetiq
password: Root$
url: jdbc:mysql://192.168.0.150:3306/demo
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: com.mysql.cj.jdbc.Driver
username: root
password: root
url: jdbc:mysql://192.168.0.150:3306/demo

View File

@@ -7,6 +7,6 @@ spring:
ddl-auto: update
datasource:
driver-class-name: org.postgresql.Driver
username: cubetiq
password: Root$
url: jdbc:postgresql://${POSTGRES_HOST:192.168.0.150}:5432/demo
username: root
password: root
url: jdbc:postgresql://${POSTGRES_HOST:192.168.0.150}:5432/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