mirror of
https://github.com/hex248/fonts.git
synced 2026-02-07 18:23:06 +00:00
pm2
This commit is contained in:
14
ecosystem.config.cjs
Normal file
14
ecosystem.config.cjs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
module.exports = {
|
||||||
|
apps: [{
|
||||||
|
name: 'fonts',
|
||||||
|
script: 'bun',
|
||||||
|
args: 'run dev',
|
||||||
|
interpreter: 'none',
|
||||||
|
watch: true,
|
||||||
|
ignore_watch: ['node_modules', 'logs'],
|
||||||
|
env: {
|
||||||
|
NODE_ENV: 'development'
|
||||||
|
},
|
||||||
|
log_date_format: 'YYYY-MM-DD HH:mm:ss Z'
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -127,4 +127,5 @@ const port = Number(Bun.env.PORT ?? 1553);
|
|||||||
export default {
|
export default {
|
||||||
fetch: app.fetch,
|
fetch: app.fetch,
|
||||||
port,
|
port,
|
||||||
|
hostname: "0.0.0.0",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user