Comment on Which caddy docker builds to use?
hellmo_luciferrari@lemmy.zip 3 days ago
I currently build my own Caddy docker container with a Dockerfile using xcaddy and the caddy-builder-alpine image.
xcaddy adds these github.com/caddy-dns/cloudflare github.com/lucaslorentz/caddy-docker-proxy/v2
anytimesoon@piefed.social 3 days ago
That seems like a good option. How do you keep it updated?
hellmo_luciferrari@lemmy.zip 3 days ago
I have a Dockerifle:
and the docker-compose.yml file I have this snippet at the top, of course this isn’t the full file as there are specifics to my usecase in my full yml:
And to build new versions I modify the Dockerfile after doing a docker compose down, and then to build the new version I use docker compose up.``
AzuraTheSpellkissed@lemmy.blahaj.zone 3 days ago
Note that the (non-windows) caddy and caddy: builder images are all alpine based. The “-alpine” tags point to the same images (as you can tell by the hashes). But some like to be explicit about it 💜.