Closed chenejac closed 3 years ago
Harry Thakkar (Migrated from VIVO-1685) said:
Create a docker-compose file which connects new VIVO multi-stage build with solr 7 and mariadb containers.
Here are the steps:
1) pull 'sprint-docker-multistage' branch for 'vivo-project-template' repo. (https://github.com/vivo-community/vivo-project-template/tree/sprint-docker-multistage)
git clone https://github.com/vivo-community/vivo-project-template.git cd vivo-project-template git checkout sprint-docker-multistage git submodule init git submodule update cd Vitro git checkout sprint-search cd ../VIVO git checkout sprint-search cd ..
2) docker-compose build
3) docker-compose up
4) It will start all your containers in parallel and create connections between them.
VIVO - [http://localhost:8080/vivo]
Solr - [http://localhost:8983/]
5) You can docker exec -it bash will get you in mariadb container.
6) mysql -u root -p
7) once you are in mysql, you can look at tables using 'show tables' under 'vitrodb' database.
Andrew Woods said:
Resolved with: https://github.com/vivo-community/vivo-project-template/commit/15e2c72bbc4ec4780ccad98430ce2511d91c79e9
Harry Thakkar (Migrated from VIVO-1685) said:
Create a docker-compose file which connects new VIVO multi-stage build with solr 7 and mariadb containers.
Here are the steps:
1) pull 'sprint-docker-multistage' branch for 'vivo-project-template' repo. (https://github.com/vivo-community/vivo-project-template/tree/sprint-docker-multistage)
2) docker-compose build
3) docker-compose up
4) It will start all your containers in parallel and create connections between them.
VIVO - [http://localhost:8080/vivo]
Solr - [http://localhost:8983/]
5) You can docker exec -it bash will get you in mariadb container.
6) mysql -u root -p
7) once you are in mysql, you can look at tables using 'show tables' under 'vitrodb' database.