generated from kelin/Compose-Template
Add traefik/dynamic/backrest-remote.yml
This commit is contained in:
42
traefik/dynamic/backrest-remote.yml
Normal file
42
traefik/dynamic/backrest-remote.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# Remote host yml file example
|
||||||
|
|
||||||
|
# Must be http here, not https
|
||||||
|
http:
|
||||||
|
|
||||||
|
# Define all routes in this section
|
||||||
|
routers:
|
||||||
|
|
||||||
|
# Name of the Route
|
||||||
|
backrest-jarvis:
|
||||||
|
|
||||||
|
# Url to proxy
|
||||||
|
rule: "Host(`backrest.jarvis.kelinreij.duckdns.org`)"
|
||||||
|
|
||||||
|
# Name of the service (must match the service name in the services section)
|
||||||
|
service: backrest-jarvis-service
|
||||||
|
|
||||||
|
# Use https
|
||||||
|
entrypoints:
|
||||||
|
- websecure
|
||||||
|
|
||||||
|
# Use letsencrypt certificate
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
# middlewares section should be omittted if empty
|
||||||
|
middlewares:
|
||||||
|
# Use Authelia for login
|
||||||
|
- authelia@docker
|
||||||
|
|
||||||
|
# Define all services in this section
|
||||||
|
services:
|
||||||
|
|
||||||
|
# Name of the service (must match service name defined above)
|
||||||
|
backrest-jarvis-service:
|
||||||
|
|
||||||
|
# Define the load balancer using the ip and external port of the server
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://192.168.4.11:9898"
|
||||||
|
passHostHeader: true
|
||||||
|
|
||||||
Reference in New Issue
Block a user