From 611d6654cf3097dca31b10b0212598cf09c91a61 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Fri, 6 Sep 2024 11:26:23 -0700 Subject: [PATCH] Add DATASETTE_SSL_KEYFILE and DATASETTE_SSL_CERTFILE envvars to datasette serve flags --- datasette/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datasette/cli.py b/datasette/cli.py index 0f7ce712d9..01423e7f0d 100644 --- a/datasette/cli.py +++ b/datasette/cli.py @@ -468,10 +468,12 @@ def uninstall(packages, yes): @click.option( "--ssl-keyfile", help="SSL key file", + envvar="DATASETTE_SSL_KEYFILE", ) @click.option( "--ssl-certfile", help="SSL certificate file", + envvar="DATASETTE_SSL_CERTFILE", ) @click.option( "--internal",