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

I've been wanting to set up vaultwarden with Docker. However the setup guide[1] uses caddy with ports 443 and 80, but I already have traefik set up with those ports, so docker-compose aborts. My docker knowledge is quite minimal, so I am unsure how (or if) I can resolve this.

[1] https://github.com/dani-garcia/vaultwarden/wiki/Using-Docker...



You can find the setup with Traefik here: https://github.com/dani-garcia/vaultwarden/wiki/Proxy-exampl...

Now - I used traefik and caddy extensively (and everything I do is in docker these days) and caddy is so much, much better than traefik.

I used traefik v1 and v2 and struggled with having an optimal configuration. With caddy it just works.

The main difference is that with traefik you usually try to squeeze your configuration in the docker-compose.yaml, but end up with a traefik configuration as well.

With caddy you have everything in a caddy file - in my case adding a service with plenty of things set up (filtering for networks etc. is a matter of adding

https://my-new-service.com { import lan container-name:PORT }

On top of that, the caddy community is great - some questions may seem simple for the ones who are used to proxies etc. but are very hard to understand for the newcomers. There are always kind guidance for these people in the forum.




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

Search: