mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
fix(web): update proxy target for containerized development (#334)
* fix(web): update proxy target for containerized development Use internal Docker network target (http://server:8080) instead of host-published ports (host.docker.internal) to improve containerized dev environment reliability. Also add mise.local.toml to .gitignore for local tool configuration. * Remove comments regarding Docker network configuration Removed comments about containerized development and proxy target. --------- Co-authored-by: 晨苒 <16112591+chen-ran@users.noreply.github.com>
This commit is contained in:
@@ -63,6 +63,7 @@ lerna-debug.log*
|
|||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
.env.production.local
|
.env.production.local
|
||||||
|
mise.local.toml
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.idea/
|
.idea/
|
||||||
|
|||||||
@@ -117,9 +117,7 @@ services:
|
|||||||
command: ["pnpm", "exec", "vite", "--host", "0.0.0.0", "--port", "8082"]
|
command: ["pnpm", "exec", "vite", "--host", "0.0.0.0", "--port", "8082"]
|
||||||
environment:
|
environment:
|
||||||
MEMOH_CONFIG_PATH: /workspace/devenv/app.dev.toml
|
MEMOH_CONFIG_PATH: /workspace/devenv/app.dev.toml
|
||||||
MEMOH_WEB_PROXY_TARGET: http://host.docker.internal:18080
|
MEMOH_WEB_PROXY_TARGET: http://server:8080
|
||||||
extra_hosts:
|
|
||||||
- "host.docker.internal:host-gateway"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/workspace
|
- ..:/workspace
|
||||||
- node_modules:/workspace/node_modules
|
- node_modules:/workspace/node_modules
|
||||||
|
|||||||
Reference in New Issue
Block a user