mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
switch to hsqldb
This commit is contained in:
parent
4a198c2d83
commit
c673a9c8c3
4 changed files with 6 additions and 4 deletions
2
.github/workflows/docker-build-test.yml
vendored
2
.github/workflows/docker-build-test.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
matrix:
|
||||
docker-compose-file:
|
||||
- docker-compose.yml
|
||||
- testing/docker-compose.h2.yml
|
||||
- testing/docker-compose.hsqldb.yml
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
|
|
|
@ -31,6 +31,7 @@ dependencies {
|
|||
implementation 'io.activej:activej-boot:5.0'
|
||||
implementation 'io.activej:activej-specializer:5.0'
|
||||
implementation 'io.activej:activej-launchers-http:5.0'
|
||||
implementation 'org.hsqldb:hsqldb:2.6.1'
|
||||
implementation 'org.postgresql:postgresql:42.3.1'
|
||||
implementation 'org.hibernate:hibernate-core:5.6.1.Final'
|
||||
implementation 'org.hibernate:hibernate-hikaricp:5.6.1.Final'
|
||||
|
|
|
@ -11,8 +11,9 @@ API_URL: https://pipedapi.kavin.rocks
|
|||
FRONTEND_URL: https://piped.kavin.rocks
|
||||
|
||||
# Hibernate properties
|
||||
hibernate.connection.url: jdbc:h2:mem:test;MODE=PostgreSQL
|
||||
hibernate.connection.driver_class: org.h2.Driver
|
||||
hibernate.connection.url: jdbc:hsqldb:mem:memdb;sql.syntax_pgs=true
|
||||
hibernate.connection.driver_class: org.hsqldb.jdbcDriver
|
||||
hibernate.dialect: org.hibernate.dialect.HSQLDialect
|
||||
hibernate.dialect: org.hibernate.dialect.PostgreSQL10Dialect
|
||||
hibernate.connection.username: piped
|
||||
hibernate.connection.password: changeme
|
|
@ -5,4 +5,4 @@ services:
|
|||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
volumes:
|
||||
- ./config.h2.properties:/app/config.properties
|
||||
- ./config.hsqldb.properties:/app/config.properties
|
Loading…
Add table
Add a link
Reference in a new issue