chore(traefik): prefix all traefi vars with traefik_
This commit is contained in:
parent
d0ae0a4df9
commit
13eb79803f
7 changed files with 58 additions and 58 deletions
|
|
@ -3,26 +3,26 @@ services:
|
|||
image: traefik:latest
|
||||
container_name: traefik
|
||||
restart: always
|
||||
{% if cert_mode == 'acme' %}
|
||||
{% if traefik_cert_mode == 'acme' %}
|
||||
environment:
|
||||
RFC2136_NAMESERVER: "{{ acme_dns_nameserver }}"
|
||||
RFC2136_TSIG_ALGORITHM: "{{ acme_tsig_algorithm }}"
|
||||
RFC2136_TSIG_KEY: "{{ acme_tsig_key }}"
|
||||
RFC2136_TSIG_SECRET: "{{ acme_tsig_secret }}"
|
||||
RFC2136_PROPAGATION_TIMEOUT: "{{ acme_propagation_timeout }}"
|
||||
RFC2136_POLLING_INTERVAL: "{{ acme_polling_interval }}"
|
||||
RFC2136_TTL: "{{ acme_ttl }}"
|
||||
RFC2136_NAMESERVER: "{{ traefik_acme_dns_nameserver }}"
|
||||
RFC2136_TSIG_ALGORITHM: "{{ traefik_acme_tsig_algorithm }}"
|
||||
RFC2136_TSIG_KEY: "{{ traefik_acme_tsig_key }}"
|
||||
RFC2136_TSIG_SECRET: "{{ traefik_acme_tsig_secret }}"
|
||||
RFC2136_PROPAGATION_TIMEOUT: "{{ traefik_acme_propagation_timeout }}"
|
||||
RFC2136_POLLING_INTERVAL: "{{ traefik_acme_polling_interval }}"
|
||||
RFC2136_TTL: "{{ traefik_acme_ttl }}"
|
||||
{% endif %}
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
{% if enable_dashboard and not dashboard_domain %}
|
||||
{% if traefik_enable_dashboard and not traefik_dashboard_domain %}
|
||||
- "8080:8080"
|
||||
{% endif %}
|
||||
volumes:
|
||||
- {{ docker_volume_dir }}/traefik.yml:/traefik.yml:ro
|
||||
- {{ docker_volume_dir }}/config:/config:ro
|
||||
{% if cert_mode == 'acme' %}
|
||||
{% if traefik_cert_mode == 'acme' %}
|
||||
- {{ docker_volume_dir }}/letsencrypt:/letsencrypt
|
||||
{% endif %}
|
||||
{% if traefik_mode == 'backend' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue