Skip to content

Commit

Permalink
chore(smoketest): update smoketest
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Feb 13, 2024
1 parent e0cd9f1 commit 04e1429
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion app/smoketest/compose/privacypal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ services:
PRIVACYPAL_TMP_BUCKET: privacypal-input
NEXTAUTH_URL: http://localhost:8080
NEXTAUTH_SECRET: wp9CNmEFfrfAAE46zJzWTUGzpzOvIbwj/P7Hs9E9i9s=
DATABASE_URL: postgresql://privacypal:password@db:5432/privacypal
PRIVACYPAL_POSTGRES_USERNAME: privacypal
PRIVACYPAL_POSTGRES_PASSWORD: password
PRIVACYPAL_POSTGRES_HOST: db
PRIVACYPAL_POSTGRES_PORT: 5432
PRIVACYPAL_POSTGRES_DATABASE: privacypal
restart: unless-stopped

networks:
Expand Down
6 changes: 3 additions & 3 deletions app/web/src/lib/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const prismaClientSingleton = () => {
return new PrismaClient({
datasources: {
db: {
url: `postgresql://${userName}:${password}@${host}:${port}/${database}`
}
}
url: `postgresql://${userName}:${password}@${host}:${port}/${database}`,
},
},
});
};

Expand Down

0 comments on commit 04e1429

Please sign in to comment.