From 59b912f22cd4370e693f2922f6c5d1cd4fb4e5b8 Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Tue, 28 May 2024 13:34:47 +0530 Subject: [PATCH] doc: update .env.example (#9556) - add more info on SECRET_KEY_BASE - add a link to env variable section in selfhosted docs Fixes https://github.com/chatwoot/chatwoot/issues/9517 --- .env.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.env.example b/.env.example index 21a72526d..1b57141f0 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,9 @@ +# Learn about the various environment variables at +# https://www.chatwoot.com/docs/self-hosted/configuration/environment-variables/#rails-production-variables + # Used to verify the integrity of signed cookies. so ensure a secure value is set +# SECRET_KEY_BASE should be alphanumeric. Avoid special characters or symbols. +# Use `rake secret` to generate this variable SECRET_KEY_BASE=replace_with_lengthy_secure_hex # Replace with the URL you are planning to use for your app