本番用Docker Compose作成
This commit is contained in:
1 parent
40e7953ee5
commit
d4918762d2
12 files changed
+183
-7
No files matched your search
@@ -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
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user