refactor: move to Debian on truenas scale

This commit is contained in:
2023-03-25 04:28:41 -07:00
parent a6c370b85a
commit ed426593d4
26 changed files with 251 additions and 158 deletions

View File

@@ -1,4 +1,4 @@
version: "3.9"
version: "3.7"
networks:
default:
@@ -8,9 +8,6 @@ networks:
config:
- subnet: {{ traefik_ip }}/24
volumes:
logs:
services:
traefik:
image: traefik:v2.9
@@ -32,5 +29,5 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yml:/etc/traefik/traefik.yml:ro
- logs:/logs
- {{ current_svc_path }}/rules:/rules:ro
- {{ base_volume_path }}/traefik/logs:/logs
- ./rules:/rules:ro

View File

@@ -1,25 +0,0 @@
http:
routers:
sonarr:
rule: "Host(`sonarr.{{ domain }}`)"
service: sonarr
radarr:
rule: "Host(`radarr.{{ domain }}`)"
service: radarr
serversTransports:
sonarrTransport:
insecureSkipVerify: true
forwardingTimeouts:
dialTimeout: "180s"
services:
sonarr:
loadBalancer:
servers:
- url: "http://sonarr.lab.home:8989"
serversTransport: "sonarrTransport"
radarr:
loadBalancer:
servers:
- url: "http://radarr.lab.home:7878"
serversTransport: "sonarrTransport"