Skip to content

DRU-707 -- Run Druks instances on shared host services - #814

Merged
czpython merged 1 commit into
mainfrom
paulo/dru-707-run-druks-instances-on-shared-host-services
Oct 3, 2026
Merged

czpython merged 1 commit into
mainfrom
paulo/dru-707-run-druks-instances-on-shared-host-services

Conversation

@czpython

@czpython czpython commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Several Druks instances can now share one host's Postgres and Redis. Each instance runs only its web service.

  • The web command reads DRUKS_WEB_PORT. The default stays 8001.
  • The postgres service no longer requires DRUKS_POSTGRES_PASSWORD when Compose interpolates the file, so docker compose up -d --no-deps web starts without it. The postgres image still refuses an empty password.
  • DRUKS_DATABASE_POOL_SIZE, DRUKS_DATABASE_MAX_OVERFLOW, and DRUKS_DBOS_POOL_SIZE set the app engine and DBOS system pool sizes. The defaults are the current values.
  • The web process binds step sessions to its request engine. Steps and requests run on the same event loop, so one pool serves both. Before this change, the first step opened a second pool of the same size.
  • docs/configuration.md gives the per-process connection budget and the actual JWKS cache lifetime of one hour.

The web command takes DRUKS_WEB_PORT and keeps 8001 as the default.
Compose no longer requires DRUKS_POSTGRES_PASSWORD to interpolate the
postgres service, so `up --no-deps web` starts without it. The postgres
image still refuses an empty password.

DRUKS_DATABASE_POOL_SIZE, DRUKS_DATABASE_MAX_OVERFLOW and
DRUKS_DBOS_POOL_SIZE bound each process's connections. The web process
binds step sessions to its request engine, so it opens one app pool,
not two.
@mintlify

mintlify Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
druks 🟢 Ready View Preview Oct 3, 2026, 10:50 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@czpython
czpython merged commit 81823dc into main Oct 3, 2026
5 checks passed
@czpython
czpython deleted the paulo/dru-707-run-druks-instances-on-shared-host-services branch October 3, 2026 13:31

This branch was successfully deployed

1 active deployment
staging - docs — fffca704 Deployed Oct 3, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant