mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Documentation for datasette serve environment variables
Refs #2422, #2424
This commit is contained in:
parent
ea9f66f9fb
commit
832f76ce26
1 changed files with 11 additions and 0 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue