Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Feb 21, 2024
1 parent 672c3f6 commit 566cc39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 566cc39

Please sign in to comment.