Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

- 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)



How many servers do you have on this setup? How do you handle persistent storage with docker swarm?


we use 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/...). 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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: