Skip to content

docs(docker): clean up on-prem runbooks#1896

Closed
pascalandr wants to merge 15 commits into
different-ai:devfrom
Pagecran:pr/docker-onprem-runbook
Closed

docs(docker): clean up on-prem runbooks#1896
pascalandr wants to merge 15 commits into
different-ai:devfrom
Pagecran:pr/docker-onprem-runbook

Conversation

@pascalandr

@pascalandr pascalandr commented May 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Isolates Docker/on-prem runbook cleanup: Docker ignore/build/compose updates, static Den on-prem runbook/README corrections, and portable Den demo seed tooling for disposable E2E setups.

Verification

  • docker compose -f packaging/docker/docker-compose.yml config — passed.
  • docker compose -f packaging/docker/docker-compose.den-dev.yml config — passed.
  • pnpm --filter @openwork-ee/den-api exec node --check scripts/seed-demo-org-runner.mjs — passed.
  • pnpm --filter @openwork-ee/den-api exec node --import tsx -e "console.log('tsx import ok')" — passed.
  • pnpm --filter @openwork-ee/den-api build — passed.
  • Fresh Proxmox E2E on VM 151 used the seed script successfully without printing the password.
  • git diff --name-status upstream/dev...pr/docker-onprem-runbook reviewed; no tasks/**, docs/scrs/**, codemaps, or generated app-version included.

Known risks

  • Compose config output includes documented placeholder/dev tokens only; no real secrets were added.
  • Demo seed tooling is for disposable E2E/dev setup, not a production first-admin bootstrap flow.

Linked issues

@vercel

vercel Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, Comment, Open in v0 Jun 10, 2026 4:44pm

@vercel

vercel Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

@pascalandr is attempting to deploy a commit to the Different AI Team on Vercel.

A member of the Team first needs to authorize it.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 12 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread packaging/docker/Dockerfile Outdated
Copy workspace manifests before source files so Docker can reuse the pnpm install layer across source-only changes.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 4 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread packaging/docker/Dockerfile Outdated
Comment thread packaging/docker/Dockerfile Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packaging/docker/Dockerfile">

<violation number="1" location="packaging/docker/Dockerfile:17">
P2: Hardcoded Bun x64 artifact breaks non-x64 Docker builds</violation>
</file>

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread packaging/docker/Dockerfile Outdated
Update static Den compose and runbook wiring so smoke validation covers health, workspace, and env-key routes while keeping internal services off host ports and avoiding persistence of env-supplied worker tokens.
Strengthen real LAN static worker quickstart with the required DEN_STATIC_WORKER_TOKEN_MAP_JSON mapping.
Replace wildcard worker CORS defaults with local-safe origins and require an encoded static Den DATABASE_URL to support special-character MySQL passwords.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 5 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packaging/docker/docker-compose.den-static.yml">

<violation number="1" location="packaging/docker/docker-compose.den-static.yml:53">
P2: Inconsistent DB URL strategy between `den` and `worker-proxy` services — percent-encoding fix only applied to `den`</violation>
</file>

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

OPENWORK_DEV_MODE: ${OPENWORK_DEV_MODE:-0}
# Provide a complete URL so passwords with URL-special characters can be percent-encoded.
# Example: mysql://root:p%40ss%3Aword@mysql:3306/openwork_den
DATABASE_URL: ${DEN_DATABASE_URL:?DEN_DATABASE_URL is required; percent-encode URL-special password characters}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Inconsistent DB URL strategy between den and worker-proxy services — percent-encoding fix only applied to den

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packaging/docker/docker-compose.den-static.yml, line 53:

<comment>Inconsistent DB URL strategy between `den` and `worker-proxy` services — percent-encoding fix only applied to `den`</comment>

<file context>
@@ -48,7 +48,9 @@ services:
-      DATABASE_URL: mysql://root:${DEN_MYSQL_ROOT_PASSWORD}@mysql:3306/openwork_den
+      # Provide a complete URL so passwords with URL-special characters can be percent-encoded.
+      # Example: mysql://root:p%40ss%3Aword@mysql:3306/openwork_den
+      DATABASE_URL: ${DEN_DATABASE_URL:?DEN_DATABASE_URL is required; percent-encode URL-special password characters}
       BETTER_AUTH_SECRET: ${DEN_BETTER_AUTH_SECRET:?DEN_BETTER_AUTH_SECRET is required}
       DEN_DB_ENCRYPTION_KEY: ${DEN_DB_ENCRYPTION_KEY:?DEN_DB_ENCRYPTION_KEY is required}
</file context>

@pascalandr

Copy link
Copy Markdown
Contributor Author

Superseded by the clean consolidated static/on-prem workers PR #2173.

@pascalandr pascalandr closed this Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant