Skip to content

Commit

Permalink
fix: add missing variable for cache
Browse files Browse the repository at this point in the history
* this makes it possible to run also redis on a different port
  • Loading branch information
utnapischtim committed Mar 7, 2025
1 parent e3e735a commit 800f170
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docker_services_cli/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020-2024 CERN.
# Copyright (C) 2024 Graz University of Technology.
# Copyright (C) 2024-2025 Graz University of Technology.
# Copyright (C) 2025 CESNET z.s.p.o.
#
# Docker-Services-CLI is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -105,8 +105,14 @@
"REDIS_7_LATEST": "7",
},
"CONTAINER_CONNECTION_ENVIRONMENT_VARIABLES": {
"mq": {"BROKER_URL": "redis://localhost:6380/0"},
"cache": {"CACHE_TYPE": "redis"},
"mq": {
"BROKER_URL": "redis://localhost:6380/0",
"CELERY_RESULT_BACKEND": "redis://localhost:6380/1",
},
"cache": {
"CACHE_TYPE": "redis",
"CACHE_REDIS_URL": "redis://127.0.0.1:6380/0",
},
},
}
"""Redis service configuration."""
Expand Down

0 comments on commit 800f170

Please sign in to comment.