kevinveenbirkenbachandClaude Opus 4.7 bc2bc5400b fix(web-app-baserow): defensive env so variant-1 backend actually binds :8000
In CI run 26005522256, baserow Round 2 (variant 1, fresh sidecar
postgres) responded with status 500 + "connect ECONNREFUSED
127.0.0.1:8000" from baserow's internal Caddy. Container was up,
sidecar postgres + redis were Healthy, migrations succeeded (auth_user
existed, bootstrap admin worked), but gunicorn never came online on
:8000.

Cross-referenced baserow's official docs and the all-in-one image's
startup scripts:
- deploy/all-in-one/baserow.sh + supervisor/start.sh: embedded-postgres
  trigger is DATABASE_HOST==localhost AND DATABASE_URL empty. Our
  DATABASE_HOST=database avoids that, but DISABLE_EMBEDDED_PSQL/REDIS
  removes the path-of-least-resistance fallback inside supervisor.
- backend/docker/docker-entrypoint.sh: wait_for_postgres tries
  BASEROW_POSTGRES_STARTUP_CHECK_ATTEMPTS×2s before giving up (default
  5×2s = 10s, too tight for a fresh sidecar's first migration round).
- supervisor.conf: [program:backend] has startsecs=30, startretries=3.
  A long template-import pass (SYNC_TEMPLATES_ON_STARTUP=true is the
  default) after migrations can starve the gunicorn bind on :8000 and
  leave Caddy returning ECONNREFUSED.

Changes:
- vars/main.yml: introduce BASEROW_DATABASE_USER/NAME/HOST/PORT/PASSWORD
  + BASEROW_DATABASE_URL and BASEROW_REDIS_HOST/PORT/URL as single
  SPOTs derived from lookup('database', ...). env.j2 renders all of
  them from these vars instead of duplicating the lookup calls.
- templates/env.j2: emit discrete DATABASE_* AND DATABASE_URL together
  (docs note URL completely overrides discrete, but the all-in-one
  startup script also reads DATABASE_HOST directly to decide on
  embedded mode, so both must be present). Same shape for REDIS_*.
- templates/env.j2: add DISABLE_EMBEDDED_PSQL=yes, DISABLE_EMBEDDED_
  REDIS=yes, SYNC_TEMPLATES_ON_STARTUP=false, BASEROW_TRIGGER_SYNC_
  TEMPLATES_AFTER_MIGRATION=false, BASEROW_DISABLE_PLUGIN_INSTALL_ON_
  STARTUP=yes, BASEROW_POSTGRES_STARTUP_CHECK_ATTEMPTS=30.

Verified each name and semantics against
baserow/docs/installation/configuration.md and the actual source code
in baserow/deploy/all-in-one/. Notable: the docs name the variable
POSTGRES_STARTUP_CHECK_ATTEMPTS at line 108 without the BASEROW_
prefix, but the source uses BASEROW_POSTGRES_STARTUP_CHECK_ATTEMPTS —
source wins.

Caveat: EMAIL_SMTP is intentionally NOT emitted in the disabled
branch. The docs (line 335) state any non-empty value enables SMTP,
so an "EMAIL_SMTP=FALSE" defensive default would have inverted the
intent. Leaving the variable unset is the documented way to fall
back to console-only email logging.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 13:43:42 +02:00
…
…
…
…
…
…
…
…
…
…
…
…

Infinito.Nexus 🚀

🔐 One login. ♾️ Infinite applications

Infinito.Nexus Logo


What is Infinito.Nexus? 📌

Infinito.Nexus is an automated, modular infrastructure framework built on Docker, Linux, and Ansible, equally suited for cloud services, local server management, and desktop workstations. At its core lies a web-based desktop with single sign-on, backed by an LDAP directory and OIDC, granting seamless access to an almost limitless portfolio of self-hosted applications. It fully supports ActivityPub applications and is Fediverse-compatible, while integrated monitoring, alerting, cleanup, self-healing, automated updates, and backup solutions provide everything an organization needs to run at scale.

📚 🔗
🌐 Try It Live Infinito.Nexus
🔧 Request Your Setup CyberMaster.Space
📖 About This Project GitHub Sponsors View Source
☕️ Support Us Patreon Buy Me a Coffee PayPal Sponsor Infinito.Nexus

Key Features 🎯

  • Automated Deployment 📦 Turn up servers and workstations in minutes with ready-made Ansible roles.

  • Enterprise-Grade Security 🔒 Centralized user management via LDAP & OIDC (Keycloak), plus optional 2FA and encrypted storage.

  • Modular Scalability 📈 Grow from small teams to global enterprises by composing only the services you need.

  • Fediverse & ActivityPub Support 🌐 Seamlessly integrate Mastodon, Peertube, Matrix and other ActivityPub apps out of the box.

  • Self-Healing & Maintenance ⚙️ Automated cleanup, container healing, and auto-updates keep infrastructure healthy without human intervention.

  • Monitoring, Alerting & Analytics 📊 Built-in system, application, and security monitoring with multi-channel notifications.

  • Backup & Disaster Recovery 💾 Scheduled backups and scripted recovery processes to safeguard your data.

  • Continuous Updates 🔄 Automatic patching and version upgrades across the stack.

  • Application Ecosystem 🚀 A curated suite of self-hosted apps, from project management, version control, and CI/CD to chat, video conferencing, CMS, e-learning, social networking, and e-commerce, all seamlessly integrated.


Get Started 🚀

Use it online 🌐

Try Infinito.Nexus – sign up in seconds, explore the platform, and discover what our solution can do for you! 🚀🔧✨

Guides 📚

  • Installation Guide for local CLI installation, Docker execution, and source builds.
  • Deploy Guide for inventory creation, full deploys, and redeploy flows.

Contributing 🔨

For the full development setup, contribution workflow, testing, and coding standards, see CONTRIBUTING.md.

Invest 💹

We are actively looking for investors to help scale Infinito.Nexus and bring open, self-hosted infrastructure to more organizations worldwide. If you are interested in investing or partnering with us, please reach out via our Investor Relations contact.

Code of Conduct 🕊️

We are committed to fostering an open and welcoming environment. Please read our CODE_OF_CONDUCT.md to understand the standards we expect from all participants in our community.

Security 🛡️

For security reporting and disclosure, see SECURITY.md.

Support and Contact 💼

For expert installation, contact details, and project participation, see SUPPORT.md.

License ⚖️

Infinito.Nexus is distributed under the Infinito.Nexus Community License (Non-Commercial). Please see LICENSE.md for full terms.

S
Description
No description provided
Readme
6.1 GiB
0 Stars 1 Watchers 0 Forks
Languages
Python 67.7%
Jinja 25.3%
Shell 5.7%
CSS 0.3%
JavaScript 0.3%
Other 0.5%