dalibo / explain.dalibo.com

PEV2 Flask service. Visualizing and understanding PostgreSQL EXPLAIN plans made easy.
PostgreSQL License
44 stars 16 forks source link

Release docker image for self-hosting #26

Open alexklibisz opened 6 months ago

alexklibisz commented 6 months ago

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 commented 6 months ago

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

pgiraud commented 6 months ago

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.

alexklibisz commented 6 months ago

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 commented 6 months ago

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