Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: Fix pgadmin in dev

Your Name9a712b5c8584
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index 680a655d83..590e177634 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -132,6 +132,8 @@ services:
pgadmin:
image: dpage/pgadmin4
restart: always
+ volumes:
+ - ./servers.json:/pgadmin4/servers.json
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: pass
diff --git a/servers.json b/servers.json
new file mode 100644
index 0000000000..738e01b0d0
--- /dev/null
+++ b/servers.json
@@ -0,0 +1,15 @@
+{
+ "Servers": {
+ "1": {
+ "Name": "Infisical DB",
+ "Group": "Servers",
+ "Host": "host.docker.internal",
+ "Port": 5432,
+ "MaintenanceDB": "infisical",
+ "Username": "infisical",
+ "PassFile": "/pgpass",
+ "SSLMode": "disable",
+ "SavePassword": true
+ }
+ }
+}