chore: added db-cleanup-service

This service will be used to insert and delete triples for the
`org:hasSubOrganization` and `org:linkedTo` predicates when appropriated
memberships have been added or deleted to the triplestore.
This commit is contained in:
mirdono
2024-09-30 13:35:30 +02:00
committed by Alexander van den Berghe
parent 13d8154a9a
commit 494caa8c59
2 changed files with 11 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ services:
restart: "no"
cache:
restart: "no"
db-cleanup:
restart: "no"
kalliope-api:
environment:
SECURITY_CONFIG_PATH: "/config/security-dev.json"

View File

@@ -61,6 +61,15 @@ services:
- "logging=true"
restart: always
logging: *default-logging
db-cleanup:
image: lblod/db-cleanup-service:0.5.1
environment:
MU_SPARQL_ENDPOINT: "http://db:8890/sparql"
CRON_PATTERN: "23 */6 * * *"
labels:
- "logging=true"
restart: always
logging: *default-logging
migrations-triggering-indexing:
image: semtech/mu-migrations-service:0.8.0
links: