mirror of
https://github.com/penpot/penpot.git
synced 2026-06-17 12:52:12 +00:00
🐛 Fix problem with parallel ports for shadow-cljs
This commit is contained in:
parent
5a780f16c5
commit
5a19e09ddf
@ -48,6 +48,8 @@ PENPOT_PUBLIC_HTTP_PORT=3449
|
||||
PENPOT_MCP_SERVER_PORT=4401
|
||||
PENPOT_MCP_REPL_PORT=4403
|
||||
|
||||
SHADOW_SERVER_URL=wss://localhost:3449
|
||||
|
||||
# Serena (agentic devenv). These are the published host ports for ws0; ws1+
|
||||
# offset them by 10000*N. The container-internal ports (Serena MCP 14281,
|
||||
# dashboard 24282) are fixed by Serena and mapped to these in compose.
|
||||
|
||||
@ -88,6 +88,7 @@ services:
|
||||
# Agentic devenv: set to a commit/tag to update Serena on startup,
|
||||
# leave empty to skip update and use the version baked into the image.
|
||||
- SERENA_UPDATE_VERSION=1.5.0
|
||||
- SHADOW_SERVER_URL=${SHADOW_SERVER_URL}
|
||||
|
||||
networks:
|
||||
- default
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
:asset-path "/js"
|
||||
:devtools {:watch-dir "resources/public"
|
||||
:reload-strategy :full
|
||||
:server-url #shadow/env ["SHADOW_SERVER_URL" :default ""]}
|
||||
:devtools-url #shadow/env ["SHADOW_SERVER_URL" :default ""]}
|
||||
:build-options {:manifest-name "manifest.json"}
|
||||
:modules
|
||||
{:shared
|
||||
@ -87,7 +87,7 @@
|
||||
{:target :browser
|
||||
:output-dir "resources/public/js/worker/"
|
||||
:asset-path "/js/worker"
|
||||
:devtools {:server-url #shadow/env ["SHADOW_SERVER_URL" :default ""]
|
||||
:devtools {:devtools-url #shadow/env ["SHADOW_SERVER_URL" :default ""]
|
||||
:browser-inject :main
|
||||
:watch-dir "resources/public"
|
||||
:reload-strategy :full}
|
||||
|
||||
@ -322,7 +322,8 @@ function instance-env-overrides {
|
||||
"PENPOT_MCP_REPL_PORT=${mcp_repl}" \
|
||||
"SERENA_EXTERNAL_PORT=${serena}" \
|
||||
"SERENA_DASHBOARD_EXTERNAL_PORT=${serena_dash}" \
|
||||
"PENPOT_BACKEND_WORKER=false"
|
||||
"PENPOT_BACKEND_WORKER=false" \
|
||||
"SHADOW_SERVER_URL=wss://localhost:${public}"
|
||||
}
|
||||
|
||||
# Thin wrappers around .devenv/scripts/merge-mcp-config.py. The script does
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user