From 24b41ae2edae283f053de05285c446b96bc5268f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 22 Jun 2025 21:15:15 +0000 Subject: [PATCH] add celery env variables to sample env --- crawler/.env.sample | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crawler/.env.sample b/crawler/.env.sample index 41c5d7f..567d519 100644 --- a/crawler/.env.sample +++ b/crawler/.env.sample @@ -1,3 +1,8 @@ # Copy me to .env and source me export ROUTING_API_KEY="" # fetch from https://console.cloud.google.com/google/maps-apis/; prices - https://developers.google.com/maps/billing-and-pricing/pricing + +# export DB_CONNECTION_STRING="mysql://wrongmove:wrongmove@localhost:3306/wrongmove" # example for mysql +export DB_CONNECTION_STRING="sqlite:///data/wrongmove.db" # by default use SQLite locally +export CELERY_BROKER_URL="redis://localhost:6379/0" # processing background tasks +export CELERY_RESULT_BACKEND="redis://localhost:6379/1"