feat: minimal prod compose with watchtower auto-updates
This commit is contained in:
parent
338cdcf108
commit
94f353d773
4 changed files with 166 additions and 0 deletions
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue