72 lines
2.3 KiB
YAML
72 lines
2.3 KiB
YAML
---
|
|
- name: Set up the reverse proxy for internal only services
|
|
hosts: caddy_internal
|
|
become: true
|
|
roles:
|
|
# - role: caddy/install # Only needed for first setup
|
|
- role: caddy/proxy
|
|
vars:
|
|
domains:
|
|
- name: "lan.thegrind.dev"
|
|
sites:
|
|
- name: "whale"
|
|
host: 10.89.0.101
|
|
port: 9443
|
|
https: true
|
|
transport_opts:
|
|
- tls_insecure_skip_verify
|
|
- name: "router"
|
|
host: 10.89.0.1
|
|
port: 8989
|
|
- name: "adguard"
|
|
host: 10.89.0.1
|
|
port: 3000
|
|
- name: "nas"
|
|
host: 10.89.0.15
|
|
port: 80
|
|
- name: "streaming"
|
|
host: 10.89.0.106
|
|
port: 10000
|
|
https: true
|
|
transport_opts:
|
|
- tls_insecure_skip_verify
|
|
- name: "stash"
|
|
host: 10.89.0.106
|
|
port: 6969
|
|
- name: "node1"
|
|
host: 10.89.0.13
|
|
port: 8006
|
|
transport_opts:
|
|
- tls_insecure_skip_verify
|
|
- name: "node3"
|
|
host: 10.89.0.12
|
|
port: 8006
|
|
transport_opts:
|
|
- tls_insecure_skip_verify
|
|
- name: "sonarr"
|
|
host: "{{ lookup('hostip', 'streaming') }}"
|
|
port: 5002
|
|
- name: "radarr"
|
|
host: "{{ lookup('hostip', 'streaming') }}"
|
|
port: 5003
|
|
- name: "prowlarr"
|
|
host: "{{ lookup('hostip', 'streaming') }}"
|
|
port: 5001
|
|
- name: "sab"
|
|
host: "{{ lookup('hostip', 'streaming') }}"
|
|
port: 5013
|
|
- name: "qbit"
|
|
host: "{{ lookup('hostip', 'streaming') }}"
|
|
port: 5007
|
|
- name: "dash"
|
|
host: "{{ lookup('hostip', 'observability_hub') }}"
|
|
port: 3000
|
|
- name: "prometheus"
|
|
host: "{{ lookup('hostip', 'observability_hub') }}"
|
|
port: 9090
|
|
- name: "promlens"
|
|
host: "{{ lookup('hostip', 'observability_hub') }}"
|
|
port: 8080
|
|
- name: "bez"
|
|
host: "{{ lookup('hostip', 'observability_hub') }}"
|
|
port: 8090 |