Merge branch 'main' into testing

This commit is contained in:
Rasmus Thorslund 2025-01-14 16:30:21 +01:00
commit fff058613a
No known key found for this signature in database
GPG key ID: 502D33332E9E305D

View file

@ -12,6 +12,8 @@ class sunetdrive::proxysql (
$config = hiera_hash($environment)
$db_ip = $config['db']
$nextcloud_ip = $config['app']
$nextcloud_ipv6 = $config['app_v6']
$nextcloud_ip_all = $nextcloud_ip + $nextcloud_ipv6
$proxysql_ok_num = length($nextcloud_ip)
$proxysql_warn_num = $proxysql_ok_num - 1
@ -79,7 +81,7 @@ class sunetdrive::proxysql (
iif => 'ens3',
}
sunet::nftables::docker_expose { 'proxysql':
allow_clients => $nextcloud_ip,
allow_clients => $nextcloud_ip_all,
port => 6032,
iif => 'ens3',
}