Skip to content

Comparing docker with Samvera Ansible roles

Anusha Ranganathan edited this page Feb 13, 2019 · 5 revisions

Samvera-ansible - https://github.com/curationexperts/ansible-samvera
Nurax - https://github.com/curationexperts/nurax

CLAMAV (only for production)

https://github.com/curationexperts/ansible-samvera/blob/master/roles/clamav/tasks/main.yml

https://github.com/tiredofit/docker-clamav

Fedora (done)

https://github.com/curationexperts/ansible-samvera/blob/master/roles/fedora/templates/tomcat7.j2

Add opts for the following

  • Data directory
  • Postgres database
  • Memory settings

ffmpeg (done)

Solr (done)

Database (done)

FITS (done)

https://github.com/curationexperts/ansible-samvera/blob/master/roles/fits/tasks/main.yml

Note This install version 0.8.4 while we are installing fits 1.0.5, so ignoring.

Imagemagick (done)

https://github.com/curationexperts/ansible-samvera/tree/master/roles/imagemagick/tasks

Useful to install packages installed above

Nodejs

https://github.com/curationexperts/ansible-samvera/blob/master/roles/node/tasks/main.yml
https://github.com/nodejs/docker-node
If we want both rails and node image in the dockerfile, we could do a multi-stage build
https://docs.docker.com/develop/develop-images/multistage-build/

RAILS

Postgres (done)

Sidekiq

Log rotation in docker

https://medium.freecodecamp.org/how-to-setup-log-rotation-for-a-docker-container-a508093912b2