Skip to content

Commit

Permalink
chore: Add sqlite to localdev setup (#3304)
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone authored Jul 2, 2024
1 parent ae22613 commit e5650a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
services:

app:
image: daschswiss/dsp-app:v11.11.0
ports:
Expand Down Expand Up @@ -69,6 +68,7 @@ services:
volumes:
- ./sipi/images:/opt/images:delegated
- ./sipi/tmp-dsp-ingest:/opt/temp:delegated
- ingest-db:/opt/db:delegated
networks:
- knora-net
environment:
Expand All @@ -82,7 +82,8 @@ services:
- JWT_SECRET=UP 4888, nice 4-8-4 steam engine
- SIPI_USE_LOCAL_DEV=false
- ALLOW_ERASE_PROJECTS=true
# - JWT_DISABLE_AUTH=true # Uncomment this line if you want to disable authentication for the ingest service
- DB_JDBC_URL=jdbc:sqlite:/opt/db/ingest.sqlite
# - JWT_DISABLE_AUTH=true # Uncomment this line if you want to disable authentication for the ingest service
deploy:
resources:
limits:
Expand Down Expand Up @@ -130,3 +131,4 @@ networks:
volumes:
db-home:
db-import:
ingest-db:
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ object DspIngestTestContainer {
.withEnv("JWT_SECRET", "UP 4888, nice 4-8-4 steam engine")
.withEnv("SIPI_USE_LOCAL_DEV", "false")
.withEnv("JWT_DISABLE_AUTH", "true")
.withEnv("DB_JDBC_URL", "jdbc:sqlite:/tmp/ingest.sqlite")
.withFileSystemBind(imagesVolume.hostPath, assetDir, BindMode.READ_WRITE)
}

Expand Down

0 comments on commit e5650a7

Please sign in to comment.