Remove separate private and protected IP

This commit is contained in:
Jake Howard
2021-03-27 18:42:06 +00:00
parent 7580c0fd59
commit 1d997d3c33
13 changed files with 16 additions and 22 deletions

View File

@ -13,4 +13,4 @@ services:
- /:/source:ro
restart: unless-stopped
ports:
- "{{ protected_ip }}:8200:8200"
- "{{ private_ip }}:8200:8200"

View File

@ -24,7 +24,7 @@ services:
- grafana
restart: unless-stopped
ports:
- "{{ protected_ip }}:3000:3000"
- "{{ private_ip }}:3000:3000"
depends_on:
- db
- renderer

View File

@ -22,7 +22,7 @@ services:
volumes:
- ./chronograf:/var/lib/chronograf
ports:
- "{{ protected_ip }}:8888:8888"
- "{{ private_ip }}:8888:8888"
networks:
grafana:

View File

@ -12,7 +12,7 @@ services:
- prometheus
- grafana
ports:
- "{{ protected_ip }}:9090:9090"
- "{{ private_ip }}:9090:9090"
networks:
prometheus:

View File

@ -17,6 +17,6 @@
- add
- "{{ nebula.cidr }}"
- via
- "{{ pve_hosts.ingress.internal_ip }}"
- "{{ pve_hosts.ingress.ip }}"
become: true
when: nebula.cidr not in routes.stdout

View File

@ -85,7 +85,7 @@
###############################################################################
[[outputs.prometheus_client]]
listen = "{{ protected_ip }}:9273"
listen = "{{ private_ip }}:9273"
metric_version = 2
###############################################################################

View File

@ -9,4 +9,4 @@ http:
service-grafana:
loadBalancer:
servers:
- url: http://{{ pve_hosts.forrest.internal_ip }}:3000
- url: http://{{ pve_hosts.forrest.ip }}:3000

View File

@ -9,4 +9,4 @@ http:
service-jellyfin:
loadBalancer:
servers:
- url: http://{{ pve_hosts.jellyfin.internal_ip }}:8096
- url: http://{{ pve_hosts.jellyfin.ip }}:8096