Skip to content

Commit

Permalink
fixup! Trying to use keydb instead of redis
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhoyer committed Aug 14, 2024
1 parent a33cd93 commit 585df24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ docker-compose up --build
To run the tests, use the `pytest` command
## Environment variables
`KEYDB_URL` - optional, passed to Celery on initialization as a `broker` and `backend` argument,
default value is `redis://localhost:6379`
default value is `redis://keydb:6379`

`CLONE_DIR_PATH` - optional, specifies the path where the repositories will be cloned, default value is `./.repos/`

Expand Down
2 changes: 1 addition & 1 deletion src/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

logger = tmt.Logger(logging.getLogger("tmt-logger"))

keydb_url = os.getenv("KEYDB_URL", "redis://localhost:6379")
keydb_url = os.getenv("KEYDB_URL", "redis://keydb:6379")

app = Celery(__name__, broker=keydb_url, backend=keydb_url)

Expand Down

0 comments on commit 585df24

Please sign in to comment.