deploy: add Docker and Caddy production stack

This commit is contained in:
syntaxbullet
2026-09-07 11:50:22 +02:00
parent 50d7838de3
commit 6d1d12953c
9 changed files with 305 additions and 1 deletions

View File

@@ -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),