File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ ROUTE53_DNS_CHALLANGE_SECRET_KEY=${ROUTE53_DNS_CHALLANGE_SECRET_KEY}
2424
2525OPS_TRAEFIK_EXPOSE_POSTGRES = ${ OPS_TRAEFIK_EXPOSE_POSTGRES }
2626OPS_TRAEFIK_EXPOSE_RABBITMQ = ${ OPS_TRAEFIK_EXPOSE_RABBITMQ }
27+ OPS_TRAEFIK_EXPOSE_REDIS = ${ OPS_TRAEFIK_EXPOSE_REDIS }
2728STORAGE_DOMAIN = ${ STORAGE_DOMAIN }
2829REGISTRY_DOMAIN = ${ REGISTRY_DOMAIN }
2930S3_ENDPOINT = ${ S3_ENDPOINT }
@@ -88,9 +89,8 @@ TRAEFIK_PING_ENTRYPOINT=ping
8889TRAEFIK_PING = true
8990TRAEFIK_ENTRYPOINTS_METRICS_ADDRESS = :8082
9091TRAEFIK_ENTRYPOINTS_POSTGRES_ADDRESS = :5432
91- TRAEFIK_ENTRYPOINTS_RABBIT_ADDRESS = :5672
92+ TRAEFIK_ENTRYPOINTS_RABBITMQ_ADDRESS = :5672
9293TRAEFIK_ENTRYPOINTS_REDIS_ADDRESS = :${ REDIS_EXTERNAL_PORT }
93-
9494# Providers
9595TRAEFIK_PROVIDERS_SWARM_ENDPOINT = unix:///var/run/docker.sock
9696TRAEFIK_PROVIDERS_SWARM_EXPOSEDBYDEFAULT = false
You can’t perform that action at this time.
0 commit comments