Compare commits
2 commits
cad755f818
...
5d3ca738c0
Author | SHA1 | Date | |
---|---|---|---|
5d3ca738c0 | |||
497034a6a6 |
3 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,7 @@ traefik_virtual_host: localhost
|
|||
traefik:
|
||||
expose_internally: True
|
||||
expose_externally: False
|
||||
enable_acme: False
|
||||
use_acme_staging: True
|
||||
dns_challenge_provider: False
|
||||
# NOT WORKING YET!
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
force: no
|
||||
dest: /home/{{ docker_user }}/traefik/acme.json
|
||||
mode: 0600
|
||||
state: touch
|
||||
tags: config
|
||||
|
||||
- name: "docker-compose: Teardown existing Traefik service (only removes the containers)"
|
||||
|
|
|
@ -20,6 +20,7 @@ watch = true
|
|||
endpoint = "unix:///var/run/docker.sock"
|
||||
exposedByDefault = false
|
||||
|
||||
{% if traefik.enable_acme %}
|
||||
[certificatesResolvers.defaultresolver.acme]
|
||||
{% if traefik.use_acme_staging %}
|
||||
caServer = "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
|
@ -28,6 +29,8 @@ watch = true
|
|||
storage = "acme.json"
|
||||
[certificatesResolvers.defaultresolver.acme.httpChallenge]
|
||||
entryPoint = "web"
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if traefik.extra_mapping | default(False) %}
|
||||
### NOT WORKING YET!
|
||||
|
|
Loading…
Add table
Reference in a new issue