Hi Charlotte,
At this time, the Docker scripts available in the DSpace codebase only support development on localhost. They are meant simply as examples and a way to demo / try out DSpace -- they cannot be used in any Production like scenarios. See also the warning
in the README for those scripts:
So, unfortunately, there's no easy way to support SSL using those scripts. You'd need to create your own Docker scripts if you wish to run DSpace in Production on Docker. You may be able to borrow basic concepts from our scripts. But, at a minimum, you'd
likely want to ensure you have an Apache webserver running in a custom container to manage SSL and copy any certs you need into that container.
There may be others on this list that may already have created some more production-ready Docker scripts for DSpace that they can link to as a guide. If so, hopefully they'll respond to this thread.
Good luck and let us know on this list if you have more questions.
Tim