diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 3a59abd..21da230 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -23,6 +23,8 @@ services: restart: "no" cache: restart: "no" + db-cleanup: + restart: "no" kalliope-api: environment: SECURITY_CONFIG_PATH: "/config/security-dev.json" diff --git a/docker-compose.yml b/docker-compose.yml index 6c12f49..74b917f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: