本番用Docker Compose作成

This commit is contained in:
CyberRex
2026-05-25 10:01:34 +09:00
parent 40e7953ee5
commit d4918762d2
12 changed files with 183 additions and 7 deletions
+1
View File
@@ -1,5 +1,6 @@
export const env = {
nodeEnv: process.env.NODE_ENV ?? 'development',
host: process.env.HOST ?? '127.0.0.1',
port: Number.parseInt(process.env.PORT ?? '3000', 10),
databaseUrl:
process.env.DATABASE_URL ?? 'postgres://certremind:certremind@localhost:5432/certremind',
+1 -1
View File
@@ -8,7 +8,7 @@ serve(
{
fetch: app.fetch,
port: env.port,
hostname: '127.0.0.1',
hostname: env.host,
},
(info) => {
console.log(`CertRemind API listening on http://${info.address}:${info.port}`);