wikisjs & redisinsight - update loop
This commit is contained in:
parent
37d7a0b123
commit
91c5bf5fe2
@ -19,7 +19,7 @@ services:
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
## IP
|
||||
traefik.http.routers.redisinsight.rule: "Host(`{{ redisinsight_domain }}`){% if redisinsight_whitelist is defined %} && ClientIP({% for ip in redisinsight_whitelist %}`{{ ip }}`,{% endfor %}){% endif %}"
|
||||
traefik.http.routers.redisinsight.rule: "Host(`{{ redisinsight_domain }}`){% if redisinsight_whitelist is defined %} && ({% for ip in redisinsight_whitelist %}{% if not loop.last %}ClientIP(`{{ ip }}`) || {% else %}ClientIP(`{{ ip }}`){% endif %}{% endfor %}){% endif %}"
|
||||
traefik.http.routers.redisinsight.entrypoints: "websecure"
|
||||
traefik.http.routers.redisinsight.tls.certresolver: "letsencrypt"
|
||||
traefik.http.services.redisinsight.loadbalancer.server.port: "5000"
|
||||
|
@ -57,8 +57,7 @@ services:
|
||||
labels:
|
||||
traefik.enable: true
|
||||
traefik.docker.network: traefik
|
||||
#traefik.http.routers.wikijs.rule: "Host(`{{ wikijs_domain }}`){% if wikijs_whitelist is defined %} && ClientIP({% for ip in wikijs_whitelist %}`{{ ip }}`,{% endfor %}){% endif %}"
|
||||
traefik.http.routers.wikijs.rule: "Host(`{{ wikijs_domain }}`){% if wikijs_whitelist is defined %} && ({% for ip in wikijs_whitelist %}{% if not loop.last %}ClientIP(`{{ ip }}`) ||{%else}ClientIP(`{{ ip }}`){% endif %}{% endfor %}){% endif %}"
|
||||
traefik.http.routers.wikijs.rule: "Host(`{{ wikijs_domain }}`){% if wikijs_whitelist is defined %} && ({% for ip in wikijs_whitelist %}{% if not loop.last %}ClientIP(`{{ ip }}`) || {% else %}ClientIP(`{{ ip }}`){% endif %}{% endfor %}){% endif %}"
|
||||
traefik.http.routers.wikijs.tls: true
|
||||
traefik.http.routers.wikijs.tls.certresolver: letsencrypt
|
||||
traefik.http.routers.wikijs.entrypoints: "websecure"
|
||||
|
Loading…
x
Reference in New Issue
Block a user