Compare commits

...

6 Commits

5 changed files with 91 additions and 1 deletions

18
custom/authentik.yml Normal file
View File

@@ -0,0 +1,18 @@
http:
middlewares:
authentik:
forwardAuth:
address: "http://authentik-server:9000/outpost.goauthentik.io/auth/traefik"
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
- X-authentik-uid
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version

26
custom/gitea_conf.yml Normal file
View File

@@ -0,0 +1,26 @@
http:
routers:
gitea:
entryPoints:
- websecure
service: gitea
rule: "Host(`gitea.nearfuture.industries`)"
tls:
certresolver: myresolver
services:
gitea:
loadBalancer:
servers:
- url: "http://192.168.1.101:8418"
tcp:
routers:
gitea-ssh:
rule: "HostSNI(`*`)"
entrypoints:
- git-ssh
service: gitea-ssh
services:
gitea-ssh:
loadBalancer:
servers:
- address: "192.168.1.101:2128"

View File

@@ -0,0 +1,16 @@
http:
# Router for Home Assistant
routers:
homeassistant:
entryPoints:
- web
service: homeassistant
rule: Host(`homeassistant.nearfuture`)
# Add the service for Home Assistant
services:
homeassistant:
loadBalancer:
servers:
- url: http://192.168.1.195:8123

21
custom/proxmox_conf.yml Normal file
View File

@@ -0,0 +1,21 @@
http:
# Router for Proxmox
routers:
pve:
entryPoints:
- websecure
service: pve
rule: Host(`pve.nearfuture`)
# Add the service for Proxmox
services:
pve:
loadBalancer:
passHostHeader: true
serversTransport: "pve"
servers:
- url: https://192.168.1.191:8006
serversTransports:
pve:
insecureSkipVerify: true

View File

@@ -27,6 +27,15 @@ entryPoints:
websecure: websecure:
address: :443 address: :443
http:
tls:
certResolver: myresolver
domains:
- main: "nearfuture.industries"
sans:
- "*.nearfuture.industries"
git-ssh:
address: :2128
################################################################ ################################################################
# Traefik logs configuration # Traefik logs configuration
@@ -43,7 +52,7 @@ log:
# Optional # Optional
# Default: "ERROR" # Default: "ERROR"
# #
# level: DEBUG level: DEBUG
# Sets the filepath for the traefik log. If not specified, stdout will be used. # Sets the filepath for the traefik log. If not specified, stdout will be used.
# Intermediate directories are created if necessary. # Intermediate directories are created if necessary.