open firewall for database

This commit is contained in:
2023-01-15 17:39:58 +01:00
parent 14cbc8c367
commit 78309962bd

View File

@ -34,6 +34,15 @@ resource "hcloud_firewall" "default" {
]
port = "3000"
}
rule {
description = "postgres"
direction = "in"
protocol = "tcp"
source_ips = [
"0.0.0.0/0"
]
port = "5432"
}
rule {
description = "http"
direction = "in"