bioatlas / ala-docker

Dockerized version of Atlas of Living Australia components
GNU Affero General Public License v3.0
12 stars 12 forks source link

Refactor dockerfiles #4

Closed mskyttner closed 8 years ago

mskyttner commented 8 years ago

This refactoring covers changes such as: merged solr and cassandra Dockerfiles, updated Makefile to build with versioned tags, updated docker-compose.yml to only reference tagged images (no builds), added reverse proxy and modified "test" target in Makefile, added "tini" init process for all relevant components. Removed some volume mappings to the host which was not needed.

The Makefile "build" target touches two files that seemed to be missing from the repository, please add and remove the two "touch" lines from the Makefile?

The above changes do not fix the reported issues, so that needs to happen as well as test are needed to verify that those fixes work.

Please have a look and merge if it makes sense!

mskyttner commented 8 years ago

I think this should solve #1 (use "make test-cas" to verify) but perhaps not #3 (use "make test-solr" to check) although it fixed some other solr-related issues (file system permissions for solr causing other errors also reported in #3)...

shahmanash commented 8 years ago

Fix #2