Commit graph

5 commits

Author SHA1 Message Date
79c704c1f9
Switch caddy to use json configuration 2021-07-31 17:26:06 +02:00
95832941c0
Ensure stacks can inject their upstream to caddy
Created bind volume for caddy which takes the json fragments which will
later be injected through the caddy api to dynamically set their
individual reverse proxy addresses.

This is not entirely necessary if the injection should be done as a
variable instead, but makes it easier to change routes and especially
more complicated ones (I'm thinking of gitea with ssh access e.g.).
2021-07-30 11:10:05 +02:00
351e1202b2
Fix Caddyfile template for undefined email 2021-07-29 17:04:33 +02:00
4b947a3112
Add api endpoint toggle variable to caddy role 2021-07-29 16:47:13 +02:00
9f188c2674
Add basic caddy swarm role
Added caddy as swarm container. Uses templated Caddyfile which can be
set up for testing purposes for now.
Depends on docker and docker-swarm, and will keep its stuff where
docker-swarm sets itself up.
2021-07-29 14:39:43 +02:00