commit e26517e08b89d8c5685d98e8f5f3c67b9a3b51df
parent ea24fdeb8c1c4e7beb100c85ca457fbb9af4ea06
Author: Damian Myrda <damian@prime8.dev>
Date: Tue, 17 Feb 2026 21:42:35 -0600
update postgres mcp config to use env var for database url
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/programs/opencode/opencode.json b/programs/opencode/opencode.json
@@ -82,9 +82,11 @@
"command": [
"npx",
"-y",
- "@modelcontextprotocol/server-postgres",
- "postgresql://hark:hark@localhost:5432/hark"
+ "@modelcontextprotocol/server-postgres"
],
+ "environment": {
+ "DATABASE_URL": "{env:DATABASE_URL}"
+ },
"enabled": true
}
}