You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 11fd149
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packaging/docker/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ Optional env vars (via `.env` or `export`):
34
34
-`OPENWORK_PORT` — host port to map to container :8787
35
35
-`WEB_PORT` — host port to map to container :5173
36
36
-`SHARE_PORT` — host port to map to the local share service :3000
37
+
-`OPENWORK_PUBLIC_HOST` — host name/IP used in printed LAN/public URLs (defaults to your machine hostname)
37
38
-`OPENWORK_DOCKER_DEV_MOUNT_HOST_OPENCODE=1` — import host OpenCode config/auth into the isolated dev state
38
39
-`OPENWORK_OPENCODE_CONFIG_DIR` — override the host OpenCode config source used for that optional import
39
40
-`OPENWORK_OPENCODE_DATA_DIR` — override the host OpenCode data source used for that optional import
@@ -75,8 +76,9 @@ Optional env vars (via `.env` or `export`):
75
76
-`DEN_API_PORT` — host port to map to the Den control plane :8788
76
77
-`DEN_WEB_PORT` — host port to map to the cloud web app :3005
77
78
-`DEN_BETTER_AUTH_SECRET` — Better Auth secret (auto-generated if unset)
78
-
-`DEN_BETTER_AUTH_URL` — browser-facing auth base URL (defaults to the printed web URL)
79
-
-`DEN_CORS_ORIGINS` — trusted origins for Better Auth + Express CORS
79
+
-`DEN_PUBLIC_HOST` — host name/IP used for default auth URL + printed LAN/public URLs (defaults to your machine hostname)
80
+
-`DEN_BETTER_AUTH_URL` — browser-facing auth base URL (defaults to `http://$DEN_PUBLIC_HOST:<DEN_WEB_PORT>`)
81
+
-`DEN_CORS_ORIGINS` — trusted origins for Better Auth + Express CORS (defaults include hostname, localhost, loopback, and detected LAN IPv4)
80
82
-`DEN_PROVISIONER_MODE` — `stub` or `render` (defaults to `stub`)
81
83
-`DEN_WORKER_URL_TEMPLATE` — stub worker URL template with `{workerId}` placeholder
echo"OpenWork Cloud web UI: http://localhost:$DEN_WEB_PORT">&2
141
+
echo"OpenWork Cloud web UI (LAN/public): http://$PUBLIC_HOST:$DEN_WEB_PORT">&2
142
+
if [ -n"$LAN_IPV4" ];then
143
+
echo"OpenWork Cloud web UI (LAN IP): http://$LAN_IPV4:$DEN_WEB_PORT">&2
echo"OpenWork web UI: http://localhost:$WEB_PORT">&2
228
+
echo"OpenWork web UI (LAN/public): http://$PUBLIC_HOST:$WEB_PORT">&2
229
+
if [ -n"$LAN_IPV4" ];then
230
+
echo"OpenWork web UI (LAN IP): http://$LAN_IPV4:$WEB_PORT">&2
echo"OpenWork server (LAN/public): http://$PUBLIC_HOST:$OPENWORK_PORT">&2
234
+
if [ -n"$LAN_IPV4" ];then
235
+
echo"OpenWork server (LAN IP): http://$LAN_IPV4:$OPENWORK_PORT">&2
echo"Share service (LAN/public): http://$PUBLIC_HOST:$SHARE_PORT">&2
239
+
if [ -n"$LAN_IPV4" ];then
240
+
echo"Share service (LAN IP): http://$LAN_IPV4:$SHARE_PORT">&2
0 commit comments