Hacker News new | ask | show | jobs
by zebracanevra 1204 days ago
I'm really happy with using docker and compose for everything. You really can't beat how well it works on a single host.

Worrying about having to configure systemd? "restart: always" in compose. Caddy updates? Caddy provides an up to date docker image. You can't get around caddy's config, but tbh, you do it once, and then you're done. It's way better than nginx. Deploying a new version of your go application is just "docker compose up -d".

1 comments

Any issues with persistence, like using Postgres? I heard that can be quite funky.

Just wondering about having a "native" NGINX reverse-proxy + multiple apps ran via docker-compose on my VPN, seems the most hassle free. Currently using it for integration tests and it works great.

Did you maybe consider k8s, maybe as a learning experience?