Revert network changes
This commit is contained in:
@@ -52,8 +52,8 @@ homelab/
|
|||||||
|
|
||||||
For the global network I use the following IP range and Subnet:
|
For the global network I use the following IP range and Subnet:
|
||||||
|
|
||||||
- 172.16.0.0 - 172.16.252.252
|
- 10.100.0.0 - 10.100.0.254
|
||||||
- 255.255.0.0 (/12)
|
- 255.255.255.0 (/24)
|
||||||
|
|
||||||
You will get 253 usable host addresses per network. This network is mainly for connecting pods to Caddy as the external ingress.
|
You will get 253 usable host addresses per network. This network is mainly for connecting pods to Caddy as the external ingress.
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ You will get 253 usable host addresses per network. This network is mainly for c
|
|||||||
|
|
||||||
For connecting pods to each other (For example: Postgres -> Project <- Redis ) I use the following IP range and Subnet:
|
For connecting pods to each other (For example: Postgres -> Project <- Redis ) I use the following IP range and Subnet:
|
||||||
|
|
||||||
- 172.32.0.0 - 172.32.0.254
|
- 172.17.0.0 - 172.17.0.254
|
||||||
- 255.255.255.248 (/29)
|
- 255.255.255.248 (/29)
|
||||||
|
|
||||||
You get 6 usable host addresses per internal network, to find the usable addresses you can check [here](https://www.calculator.net/ip-subnet-calculator.html?cclass=b&csubnet=29&cip=172.16.0.0&ctype=ipv4&x=Calculate).
|
You get 6 usable host addresses per internal network, to find the usable addresses you can check [here](https://www.calculator.net/ip-subnet-calculator.html?cclass=b&csubnet=29&cip=172.16.0.0&ctype=ipv4&x=Calculate).
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ locals {
|
|||||||
email ${var.tls_email}
|
email ${var.tls_email}
|
||||||
|
|
||||||
servers {
|
servers {
|
||||||
trusted_proxies static 172.16.0.0/12 10.0.0.0/8 192.168.0.0/16
|
trusted_proxies static 172.16.0.0/12 10.0.0.0/8 192.168.0.0/16 10.88.0.0/16 10.100.0.0/24
|
||||||
}
|
}
|
||||||
|
|
||||||
log {
|
log {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ module "wings_network" {
|
|||||||
name = "pelican-wings"
|
name = "pelican-wings"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
attachable = true
|
attachable = true
|
||||||
subnet = "172.64.0.0/16"
|
subnet = "172.18.0.0/16"
|
||||||
options = {
|
options = {
|
||||||
"com.docker.network.bridge.name" = "pelican-wings"
|
"com.docker.network.bridge.name" = "pelican-wings"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ resource "local_file" "authentik_config_file" {
|
|||||||
module "authentik_network" {
|
module "authentik_network" {
|
||||||
source = "../../01-networking/network-service"
|
source = "../../01-networking/network-service"
|
||||||
name = "authentik-network"
|
name = "authentik-network"
|
||||||
subnet = "172.32.0.0/29"
|
subnet = "172.17.0.0/29"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
options = {
|
options = {
|
||||||
"isolate" : false
|
"isolate" : false
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ locals {
|
|||||||
module "coder_network" {
|
module "coder_network" {
|
||||||
source = "../../01-networking/network-service"
|
source = "../../01-networking/network-service"
|
||||||
name = "coder-network"
|
name = "coder-network"
|
||||||
subnet = "172.32.0.16/29"
|
subnet = "172.17.0.16/29"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
options = {
|
options = {
|
||||||
"isolate" : false
|
"isolate" : false
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ locals {
|
|||||||
module "penpot_network" {
|
module "penpot_network" {
|
||||||
source = "../../01-networking/network-service"
|
source = "../../01-networking/network-service"
|
||||||
name = "penpot-network"
|
name = "penpot-network"
|
||||||
subnet = "172.32.0.32/29"
|
subnet = "172.17.0.32/29"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
options = {
|
options = {
|
||||||
"isolate" : false
|
"isolate" : false
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ locals {
|
|||||||
module "tandoor_network" {
|
module "tandoor_network" {
|
||||||
source = "../../01-networking/network-service"
|
source = "../../01-networking/network-service"
|
||||||
name = "tandoor-network"
|
name = "tandoor-network"
|
||||||
subnet = "172.32.0.24/29"
|
subnet = "172.17.0.24/29"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
options = {
|
options = {
|
||||||
"isolate" : false
|
"isolate" : false
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ module "system_globals" {
|
|||||||
module "infrastructure_int" {
|
module "infrastructure_int" {
|
||||||
source = "../modules/01-networking/network-service"
|
source = "../modules/01-networking/network-service"
|
||||||
name = "infrastructure_int"
|
name = "infrastructure_int"
|
||||||
subnet = "172.16.0.0/12"
|
subnet = "10.100.0.0/24"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
attachable = true
|
attachable = true
|
||||||
options = {
|
options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user