From 566cc39cd3b17961c20a0a941194e0111f11736e Mon Sep 17 00:00:00 2001 From: Severin Ibarluzea Date: Wed, 21 Feb 2024 13:09:13 -0800 Subject: [PATCH] wip --- src/worker.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/worker.ts b/src/worker.ts index e923c7e..a685664 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -326,12 +326,13 @@ export class Worker { .withExposedPorts(6432) .withName(getRandomDatabaseName()) .withEnvironment({ - DATABASE_URL: connectionString, + DB_HOST: startedContainer.getHost(), + DB_USER: "postgres", + DB_NAME: "*", POOL_MODE: this.initialData.pgbouncerOptions?.poolMode ?? "transaction", LISTEN_PORT: "6432", AUTH_TYPE: "trust", - AUTH_USER: "postgres", }) .withStartupTimeout(120_000) .withNetwork(network)