GhostWriters / DockSTARTer

DockSTARTer helps you get started with running apps in Docker.
https://dockstarter.com/
MIT License
2.24k stars 230 forks source link

[Feature Request] Add support for Docker Swarm #1621

Closed ghost closed 1 year ago

ghost commented 1 year ago

Feature request

Is your feature request related to a problem? Please describe. Yes, it is, and if I want to use a Docker Compose file in the Swarm cluster, then I would need to heavily edit it.

Describe the solution you'd like Adding another dialog box that'll ask you if you want to use the Compose file with Swarm.

Describe alternatives you've considered Switching to K3s

Additional context https://dockerswarm.rocks

nemchik commented 1 year ago

I don't know a lot about swarm. Could you provide some examples of what needs to be changed in the current output of the docker-compose.yml file generated by DS in order to be usable with swarm?

ghost commented 1 year ago
nemchik commented 1 year ago

I think swarm might be a bit out of scope for the goals of this project. DockSTARTer is really meant to be a simple way to get things up and running with a basic setup. It's mostly aimed at self hosting home server setups. I understand swarm can be used in that context as well, but it requires a bit more careful and deliberate setup. The idea with DS is it should be just as easy to run an app in docker as it is to install it via a package manager like apt-get.

I appreciate the info, and I would advise that if you have interest in both DS and swarm, you could potentially use a compose override file to add in the things you want, or take the compose file generated by DS and modify it to your liking and maintain it manually without rerunning DS.