This project automatically spins up a caddy container exposed on port 80 (or 443 for tls). This is problematic when already running other services on those ports. Make these changeable by setting the following environment variables.
- SPO_CADDY_PORT_HTTP
- SPO_CADDY_PORT_HTTPS
The operator should take those variables and use them to set the port that caddy is exposed at. Adjust code as necessary to make the port be according to those environment variables. Be sure to also change any config files in the Caddy container as needed. If no environment variables are provided, the defaults should be 80/443.
This project automatically spins up a caddy container exposed on port 80 (or 443 for tls). This is problematic when already running other services on those ports. Make these changeable by setting the following environment variables.
The operator should take those variables and use them to set the port that caddy is exposed at. Adjust code as necessary to make the port be according to those environment variables. Be sure to also change any config files in the Caddy container as needed. If no environment variables are provided, the defaults should be 80/443.