fixing basic auth
This commit is contained in:
parent
b82bc17bfe
commit
59c84323e8
@ -21,7 +21,6 @@ services:
|
|||||||
- DUCKDNS_TOKEN={{ traefik.duckdns_api_token }}
|
- DUCKDNS_TOKEN={{ traefik.duckdns_api_token }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
- AUTH_STRING={{ traefik.basic_auth_password }}
|
|
||||||
- DUCKDNS_POLLING_INTERVAL=5
|
- DUCKDNS_POLLING_INTERVAL=5
|
||||||
- DUCKDNS_PROPAGATION_TIMEOUT=120
|
- DUCKDNS_PROPAGATION_TIMEOUT=120
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@ -35,7 +35,7 @@ http:
|
|||||||
middlewares:
|
middlewares:
|
||||||
traefik-auth:
|
traefik-auth:
|
||||||
basicauth:
|
basicauth:
|
||||||
users: '{% raw %}{{ env "AUTH_STRING" }}{% endraw %}'
|
users: '{{ traefik.basic_auth_password }}'
|
||||||
|
|
||||||
{% if traefik.duckdns_api_token %}
|
{% if traefik.duckdns_api_token %}
|
||||||
redirect-duckdns:
|
redirect-duckdns:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user