lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
2.86k stars 168 forks source link

question: Project deployment and use #654

Open chunkdance opened 1 month ago

chunkdance commented 1 month 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 1 month 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.