From 31f8919c3922946f679e4bc22ac3576645010a5c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sat, 17 Feb 2024 19:46:37 -0800 Subject: [PATCH] Delete unused hosts --- paladin/config/nginx/docker-compose.yml | 14 -------- paladin/config/traefik/.env | 1 - paladin/config/traefik/config/barbarian.yaml | 17 ---------- paladin/config/traefik/config/fighter.yaml | 12 ------- .../config/traefik/config/middlewares.yaml | 27 ---------------- paladin/config/traefik/config/monk.yaml | 17 ---------- paladin/config/traefik/config/ranger.yaml | 17 ---------- .../config/traefik/config/traefik_api.yaml | 8 ----- paladin/config/traefik/config/warlock.yaml | 12 ------- paladin/config/traefik/docker-compose.yml | 19 ----------- paladin/config/traefik/traefik.yaml | 28 ---------------- paladin/inxi.txt | 12 ------- warlock/config/nginx/docker-compose.yml | 14 -------- warlock/config/traefik/.env | 1 - .../config/traefik/config/middlewares.yaml | 26 --------------- warlock/config/traefik/config/tls.yaml | 4 --- .../config/traefik/config/traefik_api.yaml | 8 ----- warlock/config/traefik/docker-compose.yml | 21 ------------ warlock/config/traefik/traefik.yml | 32 ------------------- warlock/inxi.txt | 11 ------- 20 files changed, 301 deletions(-) delete mode 100644 paladin/config/nginx/docker-compose.yml delete mode 100644 paladin/config/traefik/.env delete mode 100644 paladin/config/traefik/config/barbarian.yaml delete mode 100644 paladin/config/traefik/config/fighter.yaml delete mode 100644 paladin/config/traefik/config/middlewares.yaml delete mode 100644 paladin/config/traefik/config/monk.yaml delete mode 100644 paladin/config/traefik/config/ranger.yaml delete mode 100644 paladin/config/traefik/config/traefik_api.yaml delete mode 100644 paladin/config/traefik/config/warlock.yaml delete mode 100644 paladin/config/traefik/docker-compose.yml delete mode 100644 paladin/config/traefik/traefik.yaml delete mode 100644 paladin/inxi.txt delete mode 100644 warlock/config/nginx/docker-compose.yml delete mode 100644 warlock/config/traefik/.env delete mode 100644 warlock/config/traefik/config/middlewares.yaml delete mode 100644 warlock/config/traefik/config/tls.yaml delete mode 100644 warlock/config/traefik/config/traefik_api.yaml delete mode 100644 warlock/config/traefik/docker-compose.yml delete mode 100644 warlock/config/traefik/traefik.yml delete mode 100644 warlock/inxi.txt diff --git a/paladin/config/nginx/docker-compose.yml b/paladin/config/nginx/docker-compose.yml deleted file mode 100644 index 5a7aa8f..0000000 --- a/paladin/config/nginx/docker-compose.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: '3.9' -services: - nginx: - image: nginx - container_name: nginx_test - networks: - - web - labels: - - traefik.http.routers.nginx.rule=Host(`nginx.paladin.jafner.net`) - - traefik.http.routers.nginx.tls.certresolver=lets-encrypt - -networks: - web: - external: true diff --git a/paladin/config/traefik/.env b/paladin/config/traefik/.env deleted file mode 100644 index 1be4d0d..0000000 --- a/paladin/config/traefik/.env +++ /dev/null @@ -1 +0,0 @@ -DOCKER_DATA=/home/admin/data/traefik \ No newline at end of file diff --git a/paladin/config/traefik/config/barbarian.yaml b/paladin/config/traefik/config/barbarian.yaml deleted file mode 100644 index 7f025c3..0000000 --- a/paladin/config/traefik/config/barbarian.yaml +++ /dev/null @@ -1,17 +0,0 @@ -http: - routers: - barbarian: - rule: "Host(`nas.jafner.net`)" - entryPoints: "websecure" - middlewares: - - "lan-only@file" - service: "barbarian@file" - tls: - certResolver: "lets-encrypt" - - services: - barbarian: - loadBalancer: - servers: - - url: "http://192.168.1.10/" - \ No newline at end of file diff --git a/paladin/config/traefik/config/fighter.yaml b/paladin/config/traefik/config/fighter.yaml deleted file mode 100644 index df5656d..0000000 --- a/paladin/config/traefik/config/fighter.yaml +++ /dev/null @@ -1,12 +0,0 @@ -tcp: - routers: - fighter: - rule: "HostSNIRegexp(`jafner.net`,`*.jafner.net`)" - service: fighter - tls: - passthrough: true - services: - fighter: - loadBalancer: - servers: - - address: "192.168.1.23:443" diff --git a/paladin/config/traefik/config/middlewares.yaml b/paladin/config/traefik/config/middlewares.yaml deleted file mode 100644 index acfa9e1..0000000 --- a/paladin/config/traefik/config/middlewares.yaml +++ /dev/null @@ -1,27 +0,0 @@ -http: - middlewares: - lan-only: - ipWhiteList: - sourceRange: - - "127.0.0.1/32" - - "192.168.1.1/24" - securityheaders: - headers: - customResponseHeaders: - X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex" - server: "" - sslProxyHeaders: - X-Forwarded-Proto: https - referrerPolicy: "same-origin" - hostsProxyHeaders: - - "X-Forwarded-Host" - customRequestHeaders: - X-Forwarded-Proto: "https" - X-Scheme: https - contentTypeNosniff: true - browserXssFilter: true - forceSTSHeader: true - stsIncludeSubdomains: true - stsSeconds: 63072000 - stsPreload: true - diff --git a/paladin/config/traefik/config/monk.yaml b/paladin/config/traefik/config/monk.yaml deleted file mode 100644 index c6e5466..0000000 --- a/paladin/config/traefik/config/monk.yaml +++ /dev/null @@ -1,17 +0,0 @@ -http: - routers: - monk: - rule: "Host(`backup.nas.jafner.net`)" - entryPoints: "websecure" - middlewares: - - "lan-only@file" - service: "monk@file" - tls: - certResolver: "lets-encrypt" - - services: - monk: - loadBalancer: - servers: - - url: "http://192.168.1.11/" - \ No newline at end of file diff --git a/paladin/config/traefik/config/ranger.yaml b/paladin/config/traefik/config/ranger.yaml deleted file mode 100644 index dfc6517..0000000 --- a/paladin/config/traefik/config/ranger.yaml +++ /dev/null @@ -1,17 +0,0 @@ -http: - routers: - ranger: - rule: "Host(`pihole.jafner.net`)" - entryPoints: "websecure" - middlewares: - - "lan-only@file" - service: "ranger@file" - tls: - certResolver: "lets-encrypt" - - - services: - ranger: - loadBalancer: - servers: - - url: "http://192.168.1.32/" \ No newline at end of file diff --git a/paladin/config/traefik/config/traefik_api.yaml b/paladin/config/traefik/config/traefik_api.yaml deleted file mode 100644 index 71ca9a5..0000000 --- a/paladin/config/traefik/config/traefik_api.yaml +++ /dev/null @@ -1,8 +0,0 @@ -http: - routers: - api: - rule: "Host(`paladin.traefik.jafner.net`)" - entryPoints: "websecure" - service: "api@internal" - tls: - certResolver: "lets-encrypt" \ No newline at end of file diff --git a/paladin/config/traefik/config/warlock.yaml b/paladin/config/traefik/config/warlock.yaml deleted file mode 100644 index dd08ba4..0000000 --- a/paladin/config/traefik/config/warlock.yaml +++ /dev/null @@ -1,12 +0,0 @@ -tcp: - routers: - warlock: - rule: "HostSNIRegexp(`jafner.chat`,`*.jafner.chat`)" - service: warlock - tls: - passthrough: true - services: - warlock: - loadBalancer: - servers: - - address: "192.168.1.24:443" diff --git a/paladin/config/traefik/docker-compose.yml b/paladin/config/traefik/docker-compose.yml deleted file mode 100644 index caf53df..0000000 --- a/paladin/config/traefik/docker-compose.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: '3.9' -services: - traefik: - container_name: traefik_traefik - image: traefik:latest - restart: "no" - networks: - - web - ports: - - 80:80 - - 443:443 - volumes: - - /var/run/docker.sock:/var/run/docker.sock:ro - - ./traefik.yaml:/traefik.yaml - - ./config:/config - - $DOCKER_DATA/acme.json:/acme.json -networks: - web: - external: true diff --git a/paladin/config/traefik/traefik.yaml b/paladin/config/traefik/traefik.yaml deleted file mode 100644 index 111b33e..0000000 --- a/paladin/config/traefik/traefik.yaml +++ /dev/null @@ -1,28 +0,0 @@ -entryPoints: - web: - address: :80 - http: - redirections: - entryPoint: - to: websecure - scheme: https - websecure: - address: :443 - -certificatesResolvers: - lets-encrypt: - acme: - email: jafner425@gmail.com - storage: acme.json - tlsChallenge: {} - -api: - insecure: true - dashboard: true - -providers: - docker: - watch: true - network: web - file: - directory: /config diff --git a/paladin/inxi.txt b/paladin/inxi.txt deleted file mode 100644 index 476c0ef..0000000 --- a/paladin/inxi.txt +++ /dev/null @@ -1,12 +0,0 @@ -System: Host: paladin Kernel: 5.10.0-23-amd64 x86_64 bits: 64 Console: tty 0 Distro: Debian GNU/Linux 11 (bullseye) -Machine: Type: Desktop System: Dell product: Wyse 5070 Thin Client v: N/A serial: B8H3JV2 - Mobo: Dell model: 06MC09 v: A00 serial: /B8H3JV2/CNWSC008C60069/ UEFI: Dell v: 1.1.3 date: 08/19/2018 -CPU: Info: Quad Core Intel Celeron J4105 [MCP] speed: 781 MHz min/max: 800/1500 MHz -Graphics: Device-1: Intel GeminiLake [UHD Graphics 600] driver: i915 v: kernel - Display: server: No display server data found. Headless machine? tty: 177x60 - Message: Advanced graphics data unavailable in console for root. -Network: Device-1: Intel AC 1550i Wireless driver: N/A - Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 -Drives: Local Storage: total: 29.12 GiB used: 2.78 GiB (9.5%) -Info: Processes: 98 Uptime: 5d 40m Memory: 7.59 GiB used: 440.7 MiB (5.7%) Init: systemd runlevel: 5 Shell: Bash - inxi: 3.3.01 diff --git a/warlock/config/nginx/docker-compose.yml b/warlock/config/nginx/docker-compose.yml deleted file mode 100644 index a103a6d..0000000 --- a/warlock/config/nginx/docker-compose.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: '3.9' -services: - nginx: - image: nginx - container_name: nginx_test - networks: - - web - labels: - - traefik.http.routers.nginx.rule=Host(`nginx.warlock.jafner.net`) - - traefik.http.routers.nginx.tls.certresolver=lets-encrypt - -networks: - web: - external: true diff --git a/warlock/config/traefik/.env b/warlock/config/traefik/.env deleted file mode 100644 index d6797ef..0000000 --- a/warlock/config/traefik/.env +++ /dev/null @@ -1 +0,0 @@ -DOCKER_DATA=/home/admin/data/traefik diff --git a/warlock/config/traefik/config/middlewares.yaml b/warlock/config/traefik/config/middlewares.yaml deleted file mode 100644 index 9c62b3e..0000000 --- a/warlock/config/traefik/config/middlewares.yaml +++ /dev/null @@ -1,26 +0,0 @@ -http: - middlewares: - lan-only: - ipWhiteList: - sourceRange: - - "127.0.0.1/32" - - "192.168.1.1/24" - securityheaders: - headers: - customResponseHeaders: - X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex" - server: "" - sslProxyHeaders: - X-Forwarded-Proto: https - referrerPolicy: "same-origin" - hostsProxyHeaders: - - "X-Forwarded-Host" - customRequestHeaders: - X-Forwarded-Proto: "https" - X-Scheme: https - contentTypeNosniff: true - browserXssFilter: true - forceSTSHeader: true - stsIncludeSubdomains: true - stsSeconds: 63072000 - stsPreload: true diff --git a/warlock/config/traefik/config/tls.yaml b/warlock/config/traefik/config/tls.yaml deleted file mode 100644 index 17fc206..0000000 --- a/warlock/config/traefik/config/tls.yaml +++ /dev/null @@ -1,4 +0,0 @@ -tls: - options: - tls12: - minVersion: VersionTLS12 \ No newline at end of file diff --git a/warlock/config/traefik/config/traefik_api.yaml b/warlock/config/traefik/config/traefik_api.yaml deleted file mode 100644 index 509a0ff..0000000 --- a/warlock/config/traefik/config/traefik_api.yaml +++ /dev/null @@ -1,8 +0,0 @@ -http: - routers: - api: - rule: "Host(`traefik.warlock.jafner.net`)" - entryPoints: "websecure" - service: "api@internal" - #tls: - # certResolver: "lets-encrypt" diff --git a/warlock/config/traefik/docker-compose.yml b/warlock/config/traefik/docker-compose.yml deleted file mode 100644 index 819f501..0000000 --- a/warlock/config/traefik/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: '3.9' - -services: - traefik: - image: traefik:latest - container_name: traefik_traefik - restart: "no" - networks: - - web - ports: - - 80:80 - - 443:443 - volumes: - - /var/run/docker.sock:/var/run/docker.sock:ro - - ./traefik.yaml:/traefik.yaml - - ./config:/config - - $DOCKER_DATA/acme.json:/acme.json - -networks: - web: - external: true diff --git a/warlock/config/traefik/traefik.yml b/warlock/config/traefik/traefik.yml deleted file mode 100644 index 29ad0da..0000000 --- a/warlock/config/traefik/traefik.yml +++ /dev/null @@ -1,32 +0,0 @@ -entryPoints: - web: - address: :80 - http: - redirections: - entryPoint: - to: websecure - scheme: https - websecure: - address: :443 - -metrics: - prometheus: {} - -certificatesResolvers: - lets-encrypt: - acme: - email: jafner425@gmail.com - storage: acme.json - tlsChallenge: {} - -api: - insecure: true - dashboard: true - -providers: - docker: - watch: true - network: web - file: - directory: /config - diff --git a/warlock/inxi.txt b/warlock/inxi.txt deleted file mode 100644 index d5b5923..0000000 --- a/warlock/inxi.txt +++ /dev/null @@ -1,11 +0,0 @@ -System: Host: warlock Kernel: 5.10.0-21-amd64 x86_64 bits: 64 Console: tty 0 Distro: Debian GNU/Linux 11 (bullseye) -Machine: Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x serial: 200569832803322 UEFI: American Megatrends - v: 5409 date: 01/07/2020 -CPU: Info: 6-Core AMD Ryzen 5 1600 [MT MCP] speed: 1547 MHz min/max: 1550/3200 MHz -Graphics: Message: No Device data found. - Display: server: No display server data found. Headless machine? tty: 177x60 - Message: Advanced graphics data unavailable in console for root. -Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 -Drives: Local Storage: total: 931.51 GiB used: 8.15 GiB (0.9%) -Info: Processes: 194 Uptime: 197d 22h 55m Memory: 15.62 GiB used: 1.26 GiB (8.1%) Init: systemd runlevel: 5 Shell: Bash - inxi: 3.3.01