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

Docker redux #1

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Docker redux #1

wants to merge 3 commits into from

Conversation

cjcolvar
Copy link
Member

@cjcolvar cjcolvar commented Jul 2, 2021

In this new approach, I've copied .env, docker-compose.yml, Dockerfile, Gemfile.dassie, and solr/conf over from samvera/hyrax#5004.
docker-compose.yml was modified to remove references to .dassie to rely on the static /app/samvera/hyrax-webapp in the docker image and fix the local solr/conf volume mount, change the name of the network bridge, and the build configurations passing in a hyrax version arg.
Dockerfile was modified to copy Gemfile.dassie into hyrax-webapp and skipping asset precompilation due to failures.
Gemfile.dassie is an exact copy of dassie's Gemfile with the exceptions of switching hyrax for hyrax-orcid as the gem at the path hyrax-engine and add hyrax as a normal rubygems supplied dependency.

Until Hyrax#5004 is merged this can be used by checking out that hyrax branch running docker-compose build before running docker-compose build here. Once Hyrax#5004 is merged and a new dockerhub tagged image passed then HYRAX_IMAGE_VERSION needs to be updated the FROM updated to look at dockerhub instead of ghcr.io by changing it to FROM samvera/dassie:$HYRAX_IMAGE_VERSION as hyrax-orcid-dev (and the same for the worker image).

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

Successfully merging this pull request may close these issues.

1 participant