DigitalSlideArchive/digital_slide_archive

Rename containers used in deploy_docker.py

Closed this issue · 4 comments

For historical reason we use histomicstk_ followed by a name such as histomicstk, girder_worker, rmq, mongodb, and memcached.

Instead, we should use dsa_ as the base. Like the sample docker-compose, the names would be girder, worker, rabbitmq, mongodb, memcached.

@dgutman If your okay with these names, I'll make a PR.

Part of this should be to rename the default data location from ~/.histomicstk to ~/.dsa or something similar. To prevent breaking legacy installations, we should check if ~/.histomicstk is present and use it if it is, only using ~/.dsa when it isn't.

In reference to my previous comment, I think we should rename ~/.histomicstk to ~/.dsa if it is present and you are using the default locations as a one-time migration step.

As a further naming choice, in the DSA deployment, we expose the HistomicsUI at <url>/histomicstk. We could rename this to <url>/histomics, but I suspect that will cause too much friction for all of our current users.