bicep/postgres: allow connections from ildkule

This commit is contained in:
2025-12-22 10:13:37 +09:00
parent f154d58f32
commit 4f48146e9a

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, values, ... }:
{ {
services.postgresql = { services.postgresql = {
enable = true; enable = true;
@@ -8,8 +8,10 @@
dataDir = "/data/postgresql"; dataDir = "/data/postgresql";
authentication = '' authentication = ''
host all all 129.241.210.128/25 md5 host all all ${values.ipv4-space} md5
host all all 2001:700:300:1900::/64 md5 host all all ${values.ipv6-space} md5
host all all ${values.hosts.ildkule.ipv4} md5
host all all ${values.hosts.ildkule.ipv6} md5
''; '';
# Hilsen https://pgconfigurator.cybertec-postgresql.com/ # Hilsen https://pgconfigurator.cybertec-postgresql.com/