feat(deploy): dev compose runs full stack with source mounts, delve, shared volumes; vite proxy target via env (dlv --accept-multiclient, GOPROXY=goproxy.cn in dev image)

This commit is contained in:
2026-09-07 21:04:40 +08:00
parent 0ea918fae6
commit 0de824cc6a
5 changed files with 44 additions and 4 deletions
+1 -1
View File
@@ -46,5 +46,5 @@ export default defineConfig({
},
}),
],
server: { proxy: { "/api": "http://localhost:8080" } },
server: { proxy: { "/api": process.env.VITE_PROXY_TARGET ?? "http://localhost:8080" } },
});