explain.dalibo.com icon indicating copy to clipboard operation
explain.dalibo.com copied to clipboard

Release docker image for self-hosting

Open alexklibisz opened this issue 1 year ago • 4 comments

Hi, thanks for building and maintaining this extremely useful tool.

Do you know if there is a docker image of the application that we can just deploy without having to re-build the image? If not, would you be interested in a contribution that makes this possible? Maybe a github workflow that builds and publishes the image to ghcr?

alexklibisz avatar Apr 25 '24 19:04 alexklibisz

I created a repo to publish the server image: https://github.com/alexklibisz/pev2-docker.

The server gets published here: https://github.com/alexklibisz/pev2-docker/pkgs/container/pev2-server.

The publish workflow is here: https://github.com/alexklibisz/pev2-docker/blob/main/.github/workflows/publish.yaml

alexklibisz avatar Apr 30 '24 06:04 alexklibisz

Sorry for not answering earlier. I'd like to thank you for your interest and for the contribution. I'll have a look whenever possible.

Don't you think that this (the publication workflow) could go into the explain.dalibo.com project and be maintained there? Reading your first message, I do think it was your first intention and you were just waiting for my answer.

pgiraud avatar May 03 '24 06:05 pgiraud

Yeah I think it's best for the publish workflow and docker image to live in this repo. I'll try to make a PR with this later today.

alexklibisz avatar May 03 '24 15:05 alexklibisz

PR here: https://github.com/dalibo/explain.dalibo.com/pull/27

alexklibisz avatar May 03 '24 18:05 alexklibisz

I didn't realize that we had to explicitly set the visibility to public for github packages. After some thoughts I will work on this a bit more to publish images to docker hub instead of github packages. I will work on this again hopefully next week. cc @joshuataylor

pgiraud avatar Nov 07 '24 08:11 pgiraud

Docker images are now available in Docker Hub. https://hub.docker.com/r/dalibo/explain.dalibo.com See docker-compose.yml for example usage.

pgiraud avatar Mar 14 '25 07:03 pgiraud