feat(Docker): allow custom certificates for fastapi/nginx
Now, when a ./cache/production.{cert,key}.pem
pair is found, it is
used in place of any certificates generated by the ca
service.
This allows users to customize the certificate that the FastAPI
ASGI server uses as well as the front-end nginx certificates.
Optional:
- ./cache/production.cert.pem
- ./cache/production.key.pem
Fallback:
- ./cache/localhost.cert.pem + ./cache/root.ca.pem (chain)
- ./cache/localhost.key.pem
Signed-off-by: Kevin Morris kevr@0cost.org