Fixed DB
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 34s
Build and Push Docker Images / build-frontend (push) Successful in 16s

This commit is contained in:
2026-01-08 10:55:48 +01:00
parent be7b219569
commit a892b7a6e4

View File

@@ -5,7 +5,7 @@ import * as schema from "../../db/schema"
export default fp(async (server, opts) => { export default fp(async (server, opts) => {
const pool = new Pool({ const pool = new Pool({
host: "100.102.185.225", host: "10.10.20.10",
port: Number(process.env.DB_PORT || 5432), port: Number(process.env.DB_PORT || 5432),
user: "postgres", user: "postgres",
password: "wJw7aNpEBJdcxgoct6GXNpvY4Cn6ECqu", password: "wJw7aNpEBJdcxgoct6GXNpvY4Cn6ECqu",
@@ -24,7 +24,7 @@ export default fp(async (server, opts) => {
await pool.end() await pool.end()
}) })
server.log.info("Drizzle database connected") console.log("Drizzle database connected")
}) })
declare module "fastify" { declare module "fastify" {