Ask HN: Deploying my project on multiple servers?
Currently I have 5 Linux servers setup, my code is based on Python and celery. Every time I make a revision, I have to manually upload the code. What would be the best solution to automatically deploy? I was thinking of setting up an NFS share, but I'm curious if there's a better way?
7 comments
[ 4.2 ms ] story [ 26.4 ms ] threadOr could have a simple agent that polls your server for updates and then downloads and deploys.
https://github.com/capistrano/capistrano
You can start by deploying from your machine to simultaneously get it deploying across all your servers, then I'd consider having a CI/CD pipeline take over and run Capistrano for you.
[1] https://www.fabfile.org/
I enjoy using k3s with argocd. The containers are built using GitHub actions but you can probably use many other tools.