Repository navigation
|
Hello everyone. I'd like to use Kamal to deploy my applications, but I don't want kamal-proxy to take over the ports 80 and 443. I'd prefer to keep Caddy/Nginx in control of those ports and have it reverse proxy to my application containers. If users are able to use their own web server, the server can retain its multi-tenancy. Is it possible to use Kamal without Kamal Proxy while still benefiting from Kamal's deployment features, such as building images, deploying containers, and running migrations? If so, what is the recommended configuration for this setup? Thanks! |
Replies: 1 comment 3 replies
|
Yes. Move kamal-proxy off 80/443 and keep Caddy in front (Kamal 2.12):
|
Yes. Move kamal-proxy off 80/443 and keep Caddy in front (Kamal 2.12):
proxy: run: http_port: 8080, bind_ips: [127.0.0.1]reverse_proxy 127.0.0.1:8080proxy: falsealso works, but the next deploy fails on a fixed host port (port is already allocated).