deploy: add Docker and Caddy production stack
This commit is contained in:
@@ -25,7 +25,7 @@ const app = createApi(db, readAuthConfig(), undefined, undefined, undefined, rea
|
||||
if (import.meta.hot) import.meta.hot.dispose(() => app.stopLiveSharing());
|
||||
|
||||
const server = Bun.serve({
|
||||
hostname: "127.0.0.1",
|
||||
hostname: process.env.HOST ?? "127.0.0.1",
|
||||
port: Number(process.env.PORT ?? 3000),
|
||||
routes: {
|
||||
"/api": req => app.fetch(req),
|
||||
|
||||
Reference in New Issue
Block a user