4 ms·
- Deploy using docker swarm, CI ssh into machine, pull repo and run - don't remember the last time I updated lol - traefik + worker nodes on docker swarm - a
by mesmertech 4y ago
- Deploy using docker swarm, CI ssh into machine, pull repo and run
- don't remember the last time I updated lol
- traefik + worker nodes on docker swarm
- again docker swarm
- I have a cronjob that makes backup using postgres, then uploads it to a digitalocean spaces, you can just use S3 as well
- I'm using cloudflare in front of server, but I also use inbuilt firewall as I host a postgres server with hetzner(only allow traffic from the web server worker nodes)
- cwiggs 4y agoHow many servers do you have on this setup? How do you handle persistent storage with docker swarm?
- ancieque 4y agowe use https://github.com/costela/docker-volume-hetzner https://github.com/costela/docker-volume-hetzner which is really stable. CSI support for Swarm is in beta as well and already merged in the Hetzner CSI driver (https://github.com/hetznercloud/csi-driver/tree/main/deploy/docker-swarm https://github.com/hetznercloud/csi-driver/tree/main/deploy/...). There are some rough edges atm with Docker + CSI so I would stick with docker-volume-hetzner for now for prod usage. Disclaimer: I contributed to both repos.