digital_slide_archive icon indicating copy to clipboard operation
digital_slide_archive copied to clipboard

Refactor deployment to just use docker-compose

Open manthey opened this issue 3 years ago • 2 comments

The deploy_docker.py scripts works, but is cryptic to maintain. Now that docker-compose can do almost everything we need, we should switch to that. There needs to be a migration path as well.

We have a docker-compose setup in the devops directory, but this currently doesn't handle running HistomicsTK or other docker algorithms and has some other limitations.

manthey avatar Mar 25 '21 18:03 manthey

There is a work-in-progress of this on the https://github.com/DigitalSlideArchive/digital_slide_archive/tree/docker-compose branch.

manthey avatar Mar 25 '21 18:03 manthey

The docker-compose script can handle everything that the deploy_docker.py script can do. If there is still substantial value in a command-line starting script, it would probably be better to emit a docker-compose yaml file and then defer to docker-compose for actions.

deploy_docker.py has some complex options, such as using a localhost version of rabbitmq, mongodb, and memcached. It would be useful to know if any of these are being used and need to be maintained, or if we can discard some of the deployment options.

manthey avatar Aug 17 '21 12:08 manthey

We are preferring the docker-compose deployment. At this point, we should mark the deploy_docker script as deprecated.

manthey avatar Feb 06 '23 17:02 manthey