diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs new file mode 100644 index 0000000..8191eb2 --- /dev/null +++ b/ecosystem.config.cjs @@ -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' + }] +} diff --git a/src/server.ts b/src/server.ts index ce17d8e..d140dd8 100644 --- a/src/server.ts +++ b/src/server.ts @@ -127,4 +127,5 @@ const port = Number(Bun.env.PORT ?? 1553); export default { fetch: app.fetch, port, + hostname: "0.0.0.0", };