Compare commits
1 Commits
master
...
switch-to-
Author | SHA1 | Date | |
---|---|---|---|
2634256f02 |
@ -22,6 +22,7 @@ dependencies {
|
|||||||
compileOnly 'org.projectlombok:lombok'
|
compileOnly 'org.projectlombok:lombok'
|
||||||
annotationProcessor 'org.projectlombok:lombok'
|
annotationProcessor 'org.projectlombok:lombok'
|
||||||
implementation 'org.mariadb.jdbc:mariadb-java-client'
|
implementation 'org.mariadb.jdbc:mariadb-java-client'
|
||||||
|
implementation 'org.postgresql:postgresql'
|
||||||
|
|
||||||
implementation "org.springframework.boot:spring-boot-starter-security"
|
implementation "org.springframework.boot:spring-boot-starter-security"
|
||||||
implementation "com.auth0:java-jwt:3.10.2"
|
implementation "com.auth0:java-jwt:3.10.2"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
spring.datasource.url=jdbc:mariadb://db:3306/geotime
|
spring.datasource.url=jdbc:postgresql://db:5432/geotime
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=supersecure
|
spring.datasource.password=supersecure
|
||||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
@ -26,10 +26,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./sql
|
context: ./sql
|
||||||
volumes:
|
volumes:
|
||||||
- "qbc-db-data:/var/lib/mysql"
|
- "db-data:/var/lib/postgresql/data"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: geotime
|
POSTGRES_DB: geotime
|
||||||
MYSQL_ROOT_PASSWORD: supersecure
|
POSTGRES_PASSWORD: supersecure
|
||||||
|
POSTGRES_USER: root
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
qbc-db-data:
|
db-data:
|
@ -1,2 +1,2 @@
|
|||||||
FROM mariadb
|
FROM postgres
|
||||||
ENV TZ=Europe/Berlin
|
ENV TZ=Europe/Berlin
|
Loading…
Reference in New Issue
Block a user