2021-01-13 16:38:35 +00:00
|
|
|
---
|
|
|
|
# External Access
|
|
|
|
# Traefik will allow access to certain applications externally. To enable this you'll either; a domain name that points to your
|
|
|
|
# home static IP address, the cloudflare with the cloudflare_ddns dynamic DNS container enabled, or use a dynamic DNS provider like no-ip.
|
|
|
|
# You'll also need to map ports 80 and 443 from your router to your ansible-nas server, then enable the per-app "available_externally"
|
|
|
|
# settings.
|
|
|
|
traefik_enabled: false
|
|
|
|
|
|
|
|
# directories
|
|
|
|
traefik_data_directory: "{{ docker_home }}/traefik"
|
|
|
|
|
|
|
|
# network
|
|
|
|
traefik_port_http: "80"
|
|
|
|
traefik_port_https: "443"
|
|
|
|
traefik_port_ui: "8083"
|
|
|
|
|
2021-01-20 13:51:16 +00:00
|
|
|
traefik_docker_image: traefik:v2.4
|
2021-01-19 23:55:47 +00:00
|
|
|
traefik_log_level: "INFO"
|
2021-01-19 16:55:12 +00:00
|
|
|
|
2021-01-20 00:23:30 +00:00
|
|
|
# find the relevant name and environment variables for your DNS provider at https://go-acme.github.io/lego/dns/
|
|
|
|
traefik_dns_provider: cloudflare
|
2021-01-19 16:55:12 +00:00
|
|
|
traefik_environment_variables:
|
2021-01-20 13:38:59 +00:00
|
|
|
CF_DNS_API_TOKEN: "abcdabcd123412341234"
|
|
|
|
|
|
|
|
# Ansible-NAS requests a wildcard certificate for your domain, so there should be no reason to have to use the staging
|
|
|
|
# letsencrypt acme server. If you do want to flip between staging/production, you might need to stop Traefik and clear
|
|
|
|
# the "{{ docker_home }}/traefik" after changing this setting.
|
2021-01-19 16:55:12 +00:00
|
|
|
# traefik_acme_server: "https://acme-staging-v02.api.letsencrypt.org/directory" # staging
|
2021-01-20 00:23:30 +00:00
|
|
|
traefik_acme_server: "https://acme-v02.api.letsencrypt.org/directory" # production
|
2021-02-23 15:16:29 +00:00
|
|
|
|
|
|
|
# specs
|
|
|
|
traefik_memory: 1g
|