changed postgresql listening from localhost to net
This commit is contained in:
parent
1762148744
commit
fb476e0c1b
1 changed files with 1 additions and 9 deletions
|
|
@ -3,15 +3,7 @@
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.postgresql_14;
|
package = pkgs.postgresql_14;
|
||||||
#ensureDatabases = [ "nextcloud" ];
|
enableTCPIP = true;
|
||||||
#ensureUsers = [
|
|
||||||
# {
|
|
||||||
# name = "nextcloud";
|
|
||||||
# ensurePermissions = {
|
|
||||||
# "DATABASE nextcloud" = "ALL PRIVILEGES";
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
#];
|
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "zbx_monitor";
|
name = "zbx_monitor";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue