enable/simplify testing with locally built proxy

This commit is contained in:
Arseny Sher
2023-03-15 11:52:37 +04:00
parent 0ad08eb138
commit dec7e33e5d
4 changed files with 16 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
FROM neondatabase/neon:latest
FROM neondatabase/neon:local
USER root
RUN apt-get update && apt-get install -y curl

View File

@@ -5,7 +5,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
(async () => {
try {
neonConfig.wsProxy = (host, _port) => host + ':7500/v2'
// neonConfig.pipelineConnect = "password";
neonConfig.pipelineConnect = "password";
const client = new Client({
connectionString: 'postgres://neon:test@pg.localtest.me/postgres',