Comment by achempion

Comment by achempion 10 months ago

4 replies

This looks amazing, congrats on the release! Really looking forward for the database hosting feature as well (and probably networking and mounting data dirs).

As a side note, any reason why you decided against using docker in swarm mode as it should have all these features already built it?

mightymoud 10 months ago

Correct me if I'm wrong, Docker Swarm mode is made to manage multi node clusters. This is meant for only one single VPS.

  • evantbyrne 10 months ago

    Swarm ships with Docker only requiring initialization and disabling access to the management ports. It is the appropriate alternative to more complex orchestration tools as it gives you things like zero downtime deployments, rollbacks, volume management, secrets, networking, logging, and can scale services across multiple machines if needed later. Check out what I did with Rove for setup as that is basically a wrapper around Swarm.

  • achempion 10 months ago

    You can use docker swarm just for single VPS.

      - install docker 
      - run docker swarm init
      - create yaml that describes your stack (similar to docker-compose)
      - run docker stack deploy
    
    That's basically it. My go-to solution when I need to run some service on single VPS.

    If you want to just run a single container, you can also do this with `docker service create image:tag`

    • 3np 10 months ago

      I thought docker-swarm had been considered neglected to the point of dead and without a future for a few years now. Is this impression incorrect/outdated?

      EDIT: So apparently what used to be known as "Docker Swarm" has been posthumously renamed to "Swarm Classic"/"Classic Swarm" and is indeed dead, abandoned, and deprecated. The project currently known as "Docker Swarm" is a younger completely different project which appears actively maintained. "Classic" still has roughly twice the GH stars and forks compared to the new one. I can't be the only one who's dismissed the latter, assuming it to be the former. Very confusing naming and branding, they would probably have more way more users if they had not repurposed the name like this.

      https://github.com/docker-archive/classicswarm

      > Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit