Store sessions in redis

This commit is contained in:
2023-09-26 01:47:50 -04:00
parent 306059c355
commit 6fd2f150a0
5 changed files with 370 additions and 22 deletions

View File

@@ -11,6 +11,7 @@ Install these requirements to get started developing crawlnicle.
* [rust](https://www.rust-lang.org/)
* [postgres](https://www.postgresql.org/)
* [redis](https://redis.io/)
* [sqlx-cli](https://crates.io/crates/sqlx-cli)
* Only postgres needed. Install with:
@@ -54,6 +55,7 @@ builds
PORT=3000
DATABASE_URL=postgresql://crawlnicle:<password>@localhost/crawlnicle
DATABASE_MAX_CONNECTIONS=5
REDIS_URL=redis://localhost
TITLE=crawlnicle
MAX_MEM_LOG_SIZE=1000000
CONTENT_DIR=./content