refactor(traefik): move files to /etc/traefik

This commit is contained in:
Nicolas Meienberger 2024-02-06 22:13:21 +01:00
parent ca5a42ce89
commit 61bb769744
4 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ services:
- 8080:8080 - 8080:8080
command: --providers.docker command: --providers.docker
volumes: volumes:
- ./traefik:/root/.config - ./traefik:/etc/traefik
- ./traefik/shared:/shared - ./traefik/shared:/shared
networks: networks:
- tipi_main_network - tipi_main_network

View File

@ -30,7 +30,7 @@ services:
- 8080:8080 - 8080:8080
command: --providers.docker command: --providers.docker
volumes: volumes:
- ./traefik:/root/.config - ./traefik:/etc/traefik
- ./traefik/shared:/shared - ./traefik/shared:/shared
networks: networks:
- tipi_main_network - tipi_main_network

View File

@ -7,8 +7,8 @@ tls:
stores: stores:
default: default:
defaultCertificate: defaultCertificate:
certFile: /root/.config/tls/cert.pem certFile: /etc/traefik/tls/cert.pem
keyFile: /root/.config/tls/key.pem keyFile: /etc/traefik/tls/key.pem
certificates: certificates:
- certFile: /root/.config/tls/cert.pem - certFile: /etc/traefik/tls/cert.pem
keyFile: /root/.config/tls/key.pem keyFile: /etc/traefik/tls/key.pem

View File

@ -9,7 +9,7 @@ providers:
watch: true watch: true
exposedByDefault: false exposedByDefault: false
file: file:
directory: /root/.config/dynamic directory: /etc/traefik/dynamic
watch: true watch: true
entryPoints: entryPoints: