diff options
author | Vika <vika@fireburn.ru> | 2023-07-30 02:37:23 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2023-07-30 02:37:23 +0300 |
commit | b745013301369fff3d6f2e10702bba3549509c18 (patch) | |
tree | ca8341a7687f75c6c16994f5c03bcf89deac00c4 /.envrc | |
parent | 0617663b249f9ca488e5de652108b17d67fbaf45 (diff) | |
download | kittybox-b745013301369fff3d6f2e10702bba3549509c18.tar.zst |
.envrc: add env vars for Kittybox launches directly
This avoids the need for the ./dev.sh script, except when `cargo watch` is involved.
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.envrc b/.envrc index 9ae9b76..a567465 100644 --- a/.envrc +++ b/.envrc @@ -6,3 +6,9 @@ if has nix; then nix_direnv_watch_file ./shell.nix use flake . fi +export RUST_LOG="kittybox=trace,sqlx=trace,tower_http::trace=debug,info" +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 \ No newline at end of file |