chore: use browser in devenv docker compose files by default (#306)

This commit is contained in:
AlexMa233
2026-03-29 20:13:22 +08:00
committed by GitHub
parent 180a9287dd
commit c93ddc3a87
2 changed files with 27 additions and 23 deletions
+4
View File
@@ -14,3 +14,7 @@ services:
web: web:
security_opt: security_opt:
- label=disable - label=disable
browser:
security_opt:
- label=disable
+23 -23
View File
@@ -132,29 +132,29 @@ services:
condition: service_healthy condition: service_healthy
restart: unless-stopped restart: unless-stopped
# browser: browser:
# build: build:
# context: .. context: ..
# dockerfile: devenv/Dockerfile.browser dockerfile: devenv/Dockerfile.browser
# args: args:
# BROWSER_CORES: ${BROWSER_CORES:-chromium,firefox} BROWSER_CORES: ${BROWSER_CORES:-chromium,firefox}
# container_name: memoh-dev-browser container_name: memoh-dev-browser
# working_dir: /workspace/apps/browser working_dir: /workspace/apps/browser
# command: ["bun", "run", "--watch", "src/index.ts"] command: ["bun", "run", "--watch", "src/index.ts"]
# environment: environment:
# - MEMOH_CONFIG_PATH=/workspace/devenv/app.dev.toml - MEMOH_CONFIG_PATH=/workspace/devenv/app.dev.toml
# - BROWSER_CORES=${BROWSER_CORES:-chromium,firefox} - BROWSER_CORES=${BROWSER_CORES:-chromium,firefox}
# volumes: volumes:
# - ..:/workspace - ..:/workspace
# - node_modules:/workspace/node_modules - node_modules:/workspace/node_modules
# ports: ports:
# - "${MEMOH_DEV_BROWSER_PORT:-18083}:8083" - "${MEMOH_DEV_BROWSER_PORT:-18083}:8083"
# depends_on: depends_on:
# deps: deps:
# condition: service_completed_successfully condition: service_completed_successfully
# server: server:
# condition: service_healthy condition: service_healthy
# restart: unless-stopped restart: unless-stopped
sparse: sparse:
build: build: