Skip to content

Commit 4f28351

Browse files
authored
redis commander config: add more staging_* env (#817)
1 parent fda0446 commit 4f28351

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

services/redis-commander/config.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{#- special if for DALCO. Remove once dalco is not special case anymore #}
1717
{%- if REDIS_STAGING_DATABASES %}
1818
{%- for label in REDIS_STAGING_DATABASES.strip(',').split(',') %}
19-
{{ redis_connection(label, REDIS_HOST, REDIS_PORT, REDIS_USER, REDIS_STAGING_PASSWORD, loop.index0, REDIS_SECURE) | indent(4) }},
19+
{{ redis_connection(label, REDIS_STAGING_HOST, REDIS_STAGING_PORT, REDIS_STAGING_USER, REDIS_STAGING_PASSWORD, loop.index0, REDIS_STAGING_SECURE) | indent(4) }},
2020
{%- endfor %}
2121
{%- endif %}
2222
{%- if REDIS_DATABASES %}

services/redis-commander/template.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ REDIS_SECURE=${REDIS_SECURE}
88
REDIS_DATABASES=${REDIS_DATABASES}
99
REDIS_STAGING_PASSWORD=${REDIS_STAGING_PASSWORD}
1010
REDIS_STAGING_DATABASES=${REDIS_STAGING_DATABASES}
11+
REDIS_STAGING_HOST=${REDIS_STAGING_HOST}
12+
REDIS_STAGING_PORT=${REDIS_STAGING_PORT}
13+
REDIS_STAGING_USER=${REDIS_STAGING_USER}
14+
REDIS_STAGING_SECURE=${REDIS_STAGING_SECURE}
1115
PUBLIC_NETWORK=${PUBLIC_NETWORK}
1216
MONITORED_NETWORK=${MONITORED_NETWORK}

0 commit comments

Comments
 (0)