Ask HN: Deploying Docker Compose to the Desktop
Kamal (https://kamal-deploy.org/), from the Basecamp folks, seems interesting, but targeted more for IT folks than consumers.
Ideally, I'd like the OSX application to be installed as a normal OSX app, by dragging it into the Applications folder, and the Windows app would have an installer, I guess. Docker Engine would be installed, if needed, and the background services would be started on startup. Ideally, they'd even get a little icon to click on that launches their browser on a specified localhost port. The only bit of local info the app needs is the directory to mount via a Docker volume to access the local filesystem repository.
Why am I deploying a web app as a desktop app? Because the data the app uses, large audio and video repositories, are stored locally by most people, and not available on the cloud. Why not write a regular Desktop app? Because it makes more sense as a server-based app with multiple worker nodes, and it allows the same code to migrate to the cloud later. The worker nodes really want to be Python apps, because all ML is Python. The database service is pretty simple, and could be JavaScript, Python, Java, Go, or whatever. Mine is Python, just to make coordinating with the workers easier. The front end wants to be JavaScript so that I don't need to reimplement it for every OS. Is there a better way to cobble all that together other than containers?
0 comments
[ 3.2 ms ] story [ 12.7 ms ] threadNo comments yet.