2 ms·
Does it even configure caddy? I can’t see how the caddy config could be generated from the env.yaml (unless it relies on the directory name etc for the path).
by ratorx 2y ago
Does it even configure caddy? I can’t see how the caddy config could be generated from the env.yaml (unless it relies on the directory name etc for the path).
Seems like something that could have been solved with just docker compose (by setting a remote DOCKER_HOST). If you need “automatic” proxying, then traefik can do it off container labels.
- timdorr 2y agoNope, it just copies over a hand-made Caddyfile and restarts a docker container that you need to already be running: https://github.com/bypirob/airo/blob/1a827a76f2254e5ca4f4ba4fea70b8b68b94cf85/src/main.go#L126-L127 https://github.com/bypirob/airo/blob/1a827a76f2254e5ca4f4ba4... This looks extremely barebones and makes a large number of assumptions in its current state. This is better as a Show HN after some more dev work has been completed.
- notpushkin 2y agoAgreed – it’s a bit too early to publicize this. Lots of great alternatives discussed here though! Maybe I should try to Show HN my Docker dashboard, https://lunni.dev/ https://lunni.dev/ :thinking:
- globular-toast 2y agoSurprised it doesn't use caddy-docker-proxy to automatically route traffic to your compose set up. You could just do that in dev and have a very simple compose override for prod that changes the domain names etc.