drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

[Feature] Docker image

Open ToshY opened this issue 1 year ago • 6 comments

Would be nice if there is a docker image for this tool so it can be more easily run and deployed.

ToshY avatar Apr 07 '24 09:04 ToshY

Just wanted to add my support for this. We may look into it. Would be great to have locally run

timmeade avatar Apr 08 '24 12:04 timmeade

This definitely does deserve a proper public image.

But before the image can be build I believe there should be a way to split the public promotional web-page with the app as the app itself is exposed at /editor while / exposes some kind of public app.

Either work with some kind of configuration parameter or what I would propose is to split of the public website into a separate repository.

jonas-grgt avatar Apr 08 '24 18:04 jonas-grgt

I've been thinking of packaging this into an electron app which would require separating the editor into some "engine" that gets injected in both the web and desktop app. If we get to do this we can have a docker image for the editor alone. I think that would make most sense

1ilit avatar Apr 09 '24 12:04 1ilit

I threw together a dockerfile and a compose.yaml file. Minor testing copleted, but it may not be super solid. Use at your own risk.

Drawdb-docker

sottey avatar Apr 10 '24 03:04 sottey

Ah, nice! I arrived here because I'm running my MySQL server in a docker instance. Also Redis. It would be incredible to be able to plug in a (docker) source to see my live DB.

(I hope this is in context of this issue :))

BenRacicot avatar Apr 10 '24 13:04 BenRacicot

oh.... using a real mysql-connection instead of importing an SQL (structure) dump would, of course, be a burner 🔥 😏

michabbb avatar Apr 10 '24 14:04 michabbb