From 68e2c22eb25966c899afab232df99603055477e5 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sat, 15 Feb 2025 15:16:15 +0300 Subject: [PATCH] infra: added pgadmin folder --- solution/infrastructure/pgadmin/.env.template | 2 ++ solution/infrastructure/pgadmin/password | 1 + solution/infrastructure/pgadmin/servers.json | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 solution/infrastructure/pgadmin/.env.template create mode 100644 solution/infrastructure/pgadmin/password create mode 100644 solution/infrastructure/pgadmin/servers.json diff --git a/solution/infrastructure/pgadmin/.env.template b/solution/infrastructure/pgadmin/.env.template new file mode 100644 index 0000000..32b6c66 --- /dev/null +++ b/solution/infrastructure/pgadmin/.env.template @@ -0,0 +1,2 @@ +PGADMIN_DEFAULT_EMAIL=admin@mail.com +PGADMIN_DEFAULT_PASSWORD_FILE=/run/secrets/pgadmin_password diff --git a/solution/infrastructure/pgadmin/password b/solution/infrastructure/pgadmin/password new file mode 100644 index 0000000..f77b004 --- /dev/null +++ b/solution/infrastructure/pgadmin/password @@ -0,0 +1 @@ +admin \ No newline at end of file diff --git a/solution/infrastructure/pgadmin/servers.json b/solution/infrastructure/pgadmin/servers.json new file mode 100644 index 0000000..dfb1d7b --- /dev/null +++ b/solution/infrastructure/pgadmin/servers.json @@ -0,0 +1,18 @@ +{ + "Servers": { + "1": { + "Name": "default", + "Group": "Servers", + "Host": "postgres", + "Port": 5432, + "MaintenanceDB": "postgres", + "Username": "postgres", + "KerberosAuthentication": false, + "ConnectionParameters": { + "sslmode": "prefer", + "connect_timeout": 10 + }, + "Tags": [] + } + } +}