Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe on which docker instances that are required to have working test environment #9

Open
steingod opened this issue Apr 30, 2020 · 2 comments
Assignees

Comments

@steingod
Copy link
Contributor

Please add information to README on which docker setups that will create a working environment. E.g. Drupal 7 is required with METSIS for now etc, SolR schema will only work with one imlementation etc. Make it easy for users/contributors to test.

@epifanio
Copy link
Member

epifanio commented May 5, 2020

I updated the readme for each container. the provided docker-compose.yml will start the following services:

  • SolR
  • Drupal
  • Postgres
  • FastAPI

The Drupal module installation has been simplified - the module is now included in this repository and linked via a - volume directive in the docker-compose file.
For the installation, one should refer to the relative documentation, which is also linked from the Drupal container Readme

The FastAPI container is what is used by the PyBasket APP which is also exposed as Volume.

The SolR container is not used at the moment but serves as a testing instance to develop the required API needed to communicate actions from PyBasket to the SolR instance. For testing Python<->SolR interaction, a notebook has been developed. it includes an example to clone and replicate existing SolR schemas.

As it is now the stack can be deployed by running:

git clone https://github.com/NorDataNet/metsis-deploy
cd metsis-deploy
# pull images from docker-hub registry
sudo docker-compose pull
# start the environment
sudo docker-compose up

We can keep this issue open, so to keep track of the README's that needs some fixes and/or additional requirements for documentation.

@steingod
Copy link
Contributor Author

steingod commented May 6, 2020

This is good, what we need to add then is a working implementation of Drupal that relies on the services offered by the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants