Skip to content

Commit

Permalink
chore: Add sqlite to localdev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed Jul 2, 2024
1 parent ae22613 commit 39cd508
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ sipi/tmp-dsp-ingest/

dependencies.txt
/sipi/images/*
/sipi/db/*

.idea/
.metals/
Expand All @@ -58,3 +59,4 @@ docs/03-endpoints/generated-openapi/*
# exclude test reports generated by xunit-viewer
/index.html


5 changes: 3 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
- ./sipi/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
Empty file added sipi/db/.gitkeep
Empty file.

0 comments on commit 39cd508

Please sign in to comment.