Allow license to be added as parameter on startup
I've been playing around with docker version of bliss that has been started by grant Shipley (credit: https://github.com/gshipley/bliss).
One thing I've noticed is every time I start it, while I can preserve the config for the database the license information is lost and I have to manually re-enter it.
Suggestion from this idea is to find a way to allow the user to pass in their license on startup. Suggestion is setting a parameter in startup script that will load if valid.
Unless there is a way already to do this?
-
@William Yes, there's also https://hub.docker.com/r/romancin/bliss
-
William Jacoby commented
Is grants docker still the way to go for dockerized bliss? is updating as simple as having docker redo the container? After installing it, it has bliss 20190326. It'd be nice to have an official docker container that was always up to date.
-
Grant, did you make this change to https://github.com/gshipley/bliss/blob/master/Dockerfile ?
-
Grant Shipley commented
Ah, okay. I will update it to use that directory and see how it goes.
-
No, it's stored in ~/.java .
-
Grant Shipley commented
In the dockerfile I expect a volume to be mounted at /config and then I link that to ~/.bliss
RUN ln -s /config /root/.bliss
I was under the impression the license file was stored in the .bliss hidden directory and thought that this worked.
Dan: Is this not the case?
-
I'll try and get Grant to comment, but licence information is held encrypted on the home folder for the user running bliss. If this could be mapped to the Docker host this could work across restarts.