Skip to content

Commit a90bece

Browse files
authored
docs: reference secret key in docker compose (langflow-ai#9743)
reference-lf-secret-key-in-docker-compose
1 parent b1d5a80 commit a90bece

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/docs/Configuration/api-keys-and-authentication.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,13 @@ To generate a secret encryption key for `LANGFLOW_SECRET_KEY`, do the following:
249249
LANGFLOW_SECRET_KEY=dBuu...2kM2_fb
250250
```
251251

252+
If you're running Langflow on Docker, reference the `LANGFLOW_SECRET_KEY` from your `.env` file in the `docker-compose.yml` file like this:
253+
254+
```yaml
255+
environment:
256+
- LANGFLOW_SECRET_KEY=${LANGFLOW_SECRET_KEY}
257+
```
258+
252259
### LANGFLOW_NEW_USER_IS_ACTIVE {#langflow-new-user-is-active}
253260
254261
When `LANGFLOW_NEW_USER_IS_ACTIVE=False` (default), a superuser must explicitly activate a new user's account before they can sign in to the visual editor.

0 commit comments

Comments
 (0)