Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions components/dotenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ Use environment variables in values by prefixing variables with ``$``:
DB_USER=root
DB_PASS=${DB_USER}pass # Include the user as a password prefix

You can use array:

.. code-block:: bash

DB[USER]=root
DB[PASS]=pass

Embed commands via ``$()`` (not supported on Windows):

.. code-block:: bash
Expand Down