feat: add file provider

This commit is contained in:
Lennard Brinkhaus 2023-09-19 20:04:00 +02:00
parent 165e075f54
commit 63c5e1f4eb
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@
- name: Create letsencrypt folder
file:
path: /etc/traefik
path: /etc/traefik/config
state: directory
mode: 0775
recurse: yes

View File

@ -15,7 +15,9 @@ providers:
docker:
endpoint: "unix:///var/run/docker.sock"
network: systemd-traefik
file:
directory: /etc/traefik/config
watch: true
# API and dashboard configuration
api: