A collection of mongo databases to be used in Rembrandt in the context of SMile.
475
Each available tag refers to one specific data dump. In the following the tags and the data they contain are briefly described. (Sorted from the least prepared to a ready-to-run setup.)
empty: Contains only the resource type Resource (abstract)
base: Packed with all required resource types: Microdepot, Receiver, Deliverer and Tour. The meta type Address is used for Microdepot and Receiver.
deliverer: Same as base but with two resource instances of the type Deliverer
filled: Like deliverer, but also comes with a Microdepot instance, as well as three receivers.
algorithm: Build upon filled, it also has the SMile-Munkres algorithm and a rule based algorithm predefined. Ready to be used in recipes.
recipe: Additionally to algorithm, it includes two recipe definitions: one for the munkres algorithm and one for the rule based algorithm. Ready to execute!
The images are supposed to be used in combination with the Rembrandt project.
Download the provided docker-compose file.
Open the file and add the following to the services section in the compose file:
smile-data:
image: bptlab/rembrandt-smile-data:[tag]
links:
- mongo
In the image definition, replace [tag] by your desired data dump (see previous section).
Run docker-compose up.
In the appearing log, you should see entries starting with rembrandt_smile-data_1 in combination with finished restoring [...] and exited with code 0 in the end.
You're all set!
Your docker-compose.yml should somehow look like this:
version: '3'
services:
rembrandt:
image: bptlab/rembrandt:latest
ports:
- 3000:3000
environment:
- MONGO_HOST=mongo
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- data-exchange:/usr/src/rembrandt/dataExchange
smile-data:
image: bptlab/rembrandt-smile-data:recipe
links:
- mongo
mongo:
image: mongo:latest
volumes:
data-exchange:
Content type
Image
Digest
Size
37 MB
Last updated
almost 7 years ago
docker pull bptlab/rembrandt-smile-data:recipe