noopkat / electric-io

⚡️🌋🌔 The cutest IoT dashboard of your dreams ☁️
MIT License
284 stars 37 forks source link

Create production version with docker #52

Open mtheoryx opened 6 years ago

mtheoryx commented 6 years ago
mtheoryx commented 6 years ago

I'm more than happy to help with this!

mtheoryx commented 6 years ago

I should also add that we probably need an account for @noopkat or other maintainers/automation to push final, versioned Docker images to a public registry like Docker Hub.

I envision a versioned image where users can (and the following may or may not be 100% a working example yet):

docker run electric-io:1.0.0 -p 3000:3000 -d

And then they can hit localhost:3000 to get the default dashboard to start plugging in their stuff and building it out. Data persistence optional (but should be documented), simulating optional (also documented), and of course, we will still fully support a docker compose example, even when using the built/public image.

What do you all think? Anything you think I may be missing?

noopkat commented 6 years ago

I just closed #55 so let's continue the discussion here. I just tagged the first image as latest for now while we address @mtheoryx's suggestions in this issue.

mtheoryx commented 6 years ago

latest is the devil! (IMHO)

noopkat commented 5 years ago

one thought I also had was that we should add JavaScript minification to the production build also.