lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
3.06k stars 174 forks source link

question: Project deployment and use #654

Open chunkdance opened 3 months ago

chunkdance commented 3 months ago

Is the current project just used to maintain the Caddyfile file in docker swarm, that is, does Caddy need to be deployed separately or integrated into the docker image build of Caddy? Is there a complete swarm example including caddy? I am planning to migrate from nginx.

francislavoie commented 3 months ago

This is a plugin for Caddy, so you could just have one container which acts as both the server and the configuration generator, or you could run two and have them be separate. The README covers this. Look at the "execution modes" part.