mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-19 22:20:37 +00:00
enable/simplify testing with locally built proxy
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM neondatabase/neon:latest
|
||||
FROM neondatabase/neon:local
|
||||
|
||||
USER root
|
||||
RUN apt-get update && apt-get install -y curl
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user