diff options
author | Vika <vika@fireburn.ru> | 2024-08-01 20:29:26 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-08-01 20:40:32 +0300 |
commit | 46e7938121929a4c5f4d15a295e74d8685b17b2b (patch) | |
tree | 8c3c5844a4a571b939af94577d6e758b91f3209b /.envrc | |
parent | 3c4eb66ca5f96b8cc3289aba6c34373df1dba64a (diff) | |
download | kittybox-46e7938121929a4c5f4d15a295e74d8685b17b2b.tar.zst |
Get cookie key from the environment
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.envrc b/.envrc index 31d3b45..4fafb8c 100644 --- a/.envrc +++ b/.envrc @@ -11,6 +11,6 @@ export BACKEND_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql" export JOB_QUEUE_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql" export BLOBSTORE_URI=file://./media-store export AUTH_STORE_URI=file://./auth-store -export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz +export COOKIE_KEY="$(dd if=/dev/urandom bs=64 count=1 status=none | base64)" # Add DATABASE_URL for `cargo test` invocations -export DATABASE_URL="postgres://localhost?dbname=kittybox&host=/run/postgresql" \ No newline at end of file +export DATABASE_URL="postgres://localhost?dbname=kittybox&host=/run/postgresql" |