fix(CF-627): Replace infra.agiliton.internal with postgres.agiliton.internal
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import pg from 'pg';
|
||||
const { Pool } = pg;
|
||||
|
||||
// Configuration - Direct WireGuard connection to INFRA VM PostgreSQL
|
||||
// Uses DNS hostname (infra.agiliton.internal) via WireGuard DNS
|
||||
// Configuration - Direct WireGuard connection to PostgreSQL
|
||||
// Uses service DNS hostname (postgres.agiliton.internal) via WireGuard DNS
|
||||
const config = {
|
||||
host: process.env.POSTGRES_HOST || 'infra.agiliton.internal',
|
||||
host: process.env.POSTGRES_HOST || 'postgres.agiliton.internal',
|
||||
port: parseInt(process.env.POSTGRES_PORT || '5432'),
|
||||
database: 'agiliton',
|
||||
user: 'agiliton',
|
||||
|
||||
Reference in New Issue
Block a user