refactor(example): remove unused pg2 service (#142)

resolves #140
This commit is contained in:
Shivaraj B H 2024-03-12 14:24:07 +05:30 committed by GitHub
parent 1c6e8fc867
commit 62fe23fbef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,14 +40,6 @@
];
};
services.postgres."pg2" = {
enable = true;
listen_addresses = "127.0.0.1";
port = 5433;
};
# Start `pg2-init` process after `pg1-init`
settings.processes."pg2-init".depends_on."pg1-init".condition = "process_completed_successfully";
settings.processes.pgweb =
let
pgcfg = config.services.postgres.pg1;