Open lucalianas opened 4 years ago
This sounds like a good idea. However we recently added websockets to the supported protocols, and in future we might try and unify the host strings. Instead of adding a new variable would you mind making it an optional component of OMEROHOST
?
OMEROHOST=omero.example.org
OMEROHOST=omero.example.org:12345
It should be doable in bash, but you can also switch to Python, e.g. see: https://github.com/ome/omero-web-docker/blob/3e78bbff7e8caf5b10835bcd30724c04ac9184ae/50-config.py#L25
It would be useful to configure a custom OMERO.server port as you do with the OMERO.server host.
I implemented it in ome_seadragon docker image (https://github.com/crs4/ome_seadragon-docker/commit/9fb282950de460940f9bac55bbf1f16ea7642d01) but I think it would be more appropriate to integrate this change into the "main" omero-web Docker image.
I needed this because I have multiple OMERO.servers running on the same Docker host and each one of them exposes ports that are different from the standard ones.