Documentation for datasette serve environment variables

Refs #2422, #2424
pull/2432/head
Simon Willison 2024-09-09 09:18:47 -07:00
rodzic ea9f66f9fb
commit 832f76ce26
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -141,6 +141,17 @@ Once started you can access it at ``http://localhost:8001``
.. [[[end]]]
.. _cli_datasette_serve_env:
Environment variables
---------------------
Some of the ``datasette serve`` options can be provided by environment variables:
- ``DATASETTE_SECRET``: Equivalent to the ``--secret`` option.
- ``DATASETTE_SSL_KEYFILE``: Equivalent to the ``--ssl-keyfile`` option.
- ``DATASETTE_SSL_CERTFILE``: Equivalent to the ``--ssl-certfile`` option.
- ``DATASETTE_LOAD_EXTENSION``: Equivalent to the ``--load-extension`` option.
.. _cli_datasette_get: