forked from raito/shared-public-infra
epyc: open postgresql publicly
This commit is contained in:
parent
7c1ab12829
commit
69aac159fa
|
@ -17,6 +17,10 @@ in
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
# Open public access to our PostgreSQL.
|
||||||
|
services.postgresql.enableTCPIP = true;
|
||||||
|
networking.firewall.allowedTCPPorts = [ 5432 ];
|
||||||
|
|
||||||
virtualisation.nvisor.vms = {
|
virtualisation.nvisor.vms = {
|
||||||
vm01 = {
|
vm01 = {
|
||||||
config = { pkgs, ... }: {
|
config = { pkgs, ... }: {
|
||||||
|
|
Loading…
Reference in a new issue