chenejac / VIVOTestMigration

0 stars 0 forks source link

VIVO-1685: Connect containers for new VIVO multi-stage build, solr and mariadb using docker-compose #1572

Closed chenejac closed 3 years ago

chenejac commented 5 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)

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.

 

 

chenejac commented 5 years ago

Andrew Woods said:

Resolved with: https://github.com/vivo-community/vivo-project-template/commit/15e2c72bbc4ec4780ccad98430ce2511d91c79e9