commit 5ba8d67e66897ad322fae7226bcadfce488cedf5 Author: Fejy Date: Tue Oct 1 22:10:15 2024 +0000 Initial commit diff --git a/custom/plex_conf.yml b/custom/plex_conf.yml new file mode 100644 index 0000000..c6af50f --- /dev/null +++ b/custom/plex_conf.yml @@ -0,0 +1,15 @@ +http: + # Router for Plex + routers: + plex: + entryPoints: + - web + service: plex + rule: Host(`plex.nearfuture`) + + # Add the service for Synology DSM + services: + plex: + loadBalancer: + servers: + - url: http://192.168.1.131:32400 diff --git a/custom/tls.yml b/custom/tls.yml new file mode 100644 index 0000000..b72534d --- /dev/null +++ b/custom/tls.yml @@ -0,0 +1,4 @@ +tls: + certificates: + - certFile: /ssl/overseerr.nearfuture.crt + keyFile: /ssl/overseerr.nearfuture.key diff --git a/traefik.yml b/traefik.yml new file mode 100644 index 0000000..20a21be --- /dev/null +++ b/traefik.yml @@ -0,0 +1,156 @@ +################################################################ +# +# Configuration sample for Traefik v2. +# +# For Traefik v1: https://github.com/traefik/traefik/blob/v1.7/traefik.sample.toml +# +################################################################ + +################################################################ +# Global configuration +################################################################ +global: + checkNewVersion: false + sendAnonymousUsage: false + +################################################################ +# EntryPoints configuration +################################################################ + +# EntryPoints definition +# +# Optional +# +entryPoints: + web: + address: :80 + + websecure: + address: :443 + +################################################################ +# Traefik logs configuration +################################################################ + +# Traefik logs +# Enabled by default and log to stdout +# +# Optional +# +#log: + # Log level + # + # Optional + # Default: "ERROR" + # +# level: DEBUG + + # Sets the filepath for the traefik log. If not specified, stdout will be used. + # Intermediate directories are created if necessary. + # + # Optional + # Default: os.Stdout + # +# filePath: log/traefik.log + + # Format is either "json" or "common". + # + # Optional + # Default: "common" + # +# format: json + +################################################################ +# Access logs configuration +################################################################ + +# Enable access logs +# By default it will write to stdout and produce logs in the textual +# Common Log Format (CLF), extended with additional fields. +# +# Optional +# +#accessLog: + # Sets the file path for the access log. If not specified, stdout will be used. + # Intermediate directories are created if necessary. + # + # Optional + # Default: os.Stdout + # +# filePath: /path/to/log/log.txt + + # Format is either "json" or "common". + # + # Optional + # Default: "common" + # +# format: json + +################################################################ +# API and dashboard configuration +################################################################ + +# Enable API and dashboard +# +# Optional +# +api: + # Enable the API in insecure mode + # + # Optional + # Default: false + # + insecure: false + + # Enabled Dashboard + # + # Optional + # Default: true + # +# dashboard: false + +################################################################ +# Ping configuration +################################################################ + +# Enable ping +#ping: + # Name of the related entry point + # + # Optional + # Default: "traefik" + # +# entryPoint: traefik + +################################################################ +# Docker configuration backend +################################################################ + +providers: + # Enable Docker configuration backend + docker: + # Docker server endpoint. Can be a tcp or a unix socket endpoint. + # + # Required + # Default: "unix:///var/run/docker.sock" + # +# endpoint: tcp://10.10.10.10:2375 + + # Default host rule. + # + # Optional + # Default: "Host(`{{ normalize .Name }}`)" + # +# defaultRule: Host(`{{ normalize .Name }}.docker.localhost`) + + # Expose containers by default in traefik + # + # Optional + # Default: true + # + exposedByDefault: false + + # Custom providers + file: + directory: /etc/traefik/custom + watch: true