Use ufw from puppet sunet instead
This commit is contained in:
parent
f94b66e3c1
commit
e013d5baa7
2 changed files with 12 additions and 0 deletions
|
@ -338,6 +338,10 @@ define sunetdrive::app_type (
|
||||||
from => '0.0.0.0/0',
|
from => '0.0.0.0/0',
|
||||||
port => 443,
|
port => 443,
|
||||||
}
|
}
|
||||||
|
sunet::nftables::docker_expose { 'https':
|
||||||
|
from => ['any']
|
||||||
|
port => 443,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,6 +69,14 @@ class sunetdrive::proxysql (
|
||||||
from => $tug_office,
|
from => $tug_office,
|
||||||
port => 6080,
|
port => 6080,
|
||||||
}
|
}
|
||||||
|
sunet::nftables::docker_expose { 'stats_ports':
|
||||||
|
from => $tug_office,
|
||||||
|
port => 6080,
|
||||||
|
}
|
||||||
|
sunet::nftables::docker_expose { 'proxysql':
|
||||||
|
from => ['any'],
|
||||||
|
port => 6032,
|
||||||
|
}
|
||||||
|
|
||||||
sunet::docker_compose { 'drive_proxysql_docker_compose':
|
sunet::docker_compose { 'drive_proxysql_docker_compose':
|
||||||
content => template('sunetdrive/proxysql/docker-compose_proxysql.yml.erb'),
|
content => template('sunetdrive/proxysql/docker-compose_proxysql.yml.erb'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue