feat: minimal prod compose with watchtower auto-updates

This commit is contained in:
Jonas Miederer 2026-09-07 09:05:51 +00:00
parent 338cdcf108
commit 94f353d773
4 changed files with 166 additions and 0 deletions

View file

@ -12,4 +12,14 @@ export default defineConfig({
},
},
},
preview: {
port: 3000,
proxy: {
"/api": {
// Overridable at container start (prod compose: http://app:8000).
target: process.env.VITE_API_PROXY_TARGET ?? "http://localhost:8000",
changeOrigin: true,
},
},
},
});