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

Refactor docker-compose to support running jobs. #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manthey
Copy link
Collaborator

@manthey manthey commented Aug 9, 2021

This allows running girder_worker jobs at the expense of a more complicated deployment.

The previous docker-compose used docker volumes for the database and assetstore. Because of docker permission weirdness, docker volumes don't work once the container is run with a specific user, but running with a specific user is needed for a docker to start another docker container, so the assetstore and database are now stored in subdirectories in the devops/annotation_tracker directory. Migrating a previous deployment would involve copying these files from the docker volume to these subdirectories and ensuring that all files are owned by the current user.

This allows running girder_worker jobs at the expense of a more
complicated deployment.

The previous docker-compose used docker volumes for the database and
assetstore.  Because of docker permission weirdness, docker volumes
don't work once the container is run with a specific user, but running
with a specific user is needed for a docker to start another docker
container, so the assetstore and database are now stored in
subdirectories in the devops/annotation_tracker directory.  Migrating a
previous deployment would involve copying these files from the docker
volume to these subdirectories and ensuring that all files are owned by
the current user.
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.

2 participants