Add option to create migrations triggering index
This commit is contained in:
@@ -48,20 +48,3 @@ DELETE {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# The associated call to trigger a reindex is :
|
||||
|
||||
# curl --location --request POST '172.25.0.34/update' \
|
||||
# --header 'Content-Type: application/vnd.api+json' \
|
||||
# --data-raw ' [
|
||||
# {
|
||||
# "deletes": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/besturenVanDeEredienst/578bf96f86056e2260dc21cee91aa519" },
|
||||
# "predicate": { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" },
|
||||
# "object": { "type": "uri", "value": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid" }
|
||||
# }
|
||||
# ],
|
||||
# "inserts": []
|
||||
# }
|
||||
# ]'
|
||||
@@ -17,6 +17,8 @@ services:
|
||||
volumes:
|
||||
- ./config/dev-migrations:/data/migrations/dev/
|
||||
restart: "no"
|
||||
migrations-triggering-indexing:
|
||||
restart: "no"
|
||||
resource:
|
||||
restart: "no"
|
||||
cache:
|
||||
|
||||
@@ -59,6 +59,16 @@ services:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
migrations-triggering-indexing:
|
||||
image: semtech/mu-migrations-service:0.8.0
|
||||
links:
|
||||
- db:database
|
||||
volumes:
|
||||
- ./config/migrations-triggering-indexing:/data/migrations
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
resource:
|
||||
image: semtech/mu-cl-resources:1.21.1
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user