Skip to content

Commit 01f1c1b

Browse files
committed
Add OPS_TRAEFIK_EXPOSE_REDIS
1 parent 83a544a commit 01f1c1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/traefik/docker-compose.yml.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ services:
2828
published: 5672
2929
mode: host
3030
{% endif %}
31+
{% if OPS_TRAEFIK_EXPOSE_REDIS|lower == "true" %}
32+
- target: 6379
33+
published: 6379
34+
mode: host
35+
{% endif %}
3136
configs:
3237
- source: traefik_dynamic_config.yml
3338
target: /etc/traefik/dynamic_conf.yml

0 commit comments

Comments
 (0)