Skip to content

Docker: consumer default stack, env disk sources, persisted config - #122

Merged
alorbach merged 1 commit into
rsyslog:masterfrom
alorbach:dist/dockersetup
May 4, 2026
Merged

Docker: consumer default stack, env disk sources, persisted config#122
alorbach merged 1 commit into
rsyslog:masterfrom
alorbach:dist/dockersetup

Conversation

@alorbach

@alorbach alorbach commented May 4, 2026

Copy link
Copy Markdown
Member

Summary:

  • Default Docker UX is now a consumer-style stack (docker-compose.yml): baked app, named volumes for MySQL + generated config.php, clean install unless LOGANALYZER_SEED_SAMPLE_SOURCES or LOGANALYZER_DISK_* seeds sources on first run; dev/E2E compose paths and scripts aligned.
  • New env-driven disk sources (docker/env-disk-sources.php, LOGANALYZER_DISK_SOURCE_PATHS / LOGANALYZER_DISK_SOURCES / LOGANALYZER_DISK_ALLOWED_EXTRA) wire write-config + seed-database; docker/env.example, init-env-interactive, and rebuild-consumer support repo-root .env.
  • InitSourceConfigs and related entry pages avoid fatal paths when there are no valid sources or a stale DefaultSourceID/session.
  • Added docker/README.md and cross-links across handbook index, docker.md, README/project-readme, quick-start, AGENTS.md; new .github/workflows/docker-publish.yml for ghcr.io on version tags.

gemini-code-assist[bot]

This comment was marked as outdated.

cubic-dev-ai[bot]

This comment was marked as outdated.

@alorbach
alorbach force-pushed the dist/dockersetup branch from 04ff7e5 to 512bafc Compare May 4, 2026 14:30
@alorbach

alorbach commented May 4, 2026

Copy link
Copy Markdown
Member Author

@gemini review
@cubic-dev-au review
@codex review

gemini-code-assist[bot]

This comment was marked as outdated.

…nd InitSourceConfigs hardening

Rework Compose so the baked-image consumer install is default (persisted MySQL/config, optional demo sources), add dev compose and interactive .env + rebuild-consumer helpers, extend write-config/seed with LOGANALYZER_DISK_* sources and DiskAllowed, and tighten InitSourceConfigs so empty or invalid DB sources/DefaultSourceID no longer fatals pages that load sources early. Publish GHCR image on tag v* workflow; handbook/README/AGENTS/docker README updated; E2E smoke/screenshot tweaks for the new bootstrap.

Validation:
Not run here ( PHPUnit / compose / Playwright not executed in this handoff ).
@alorbach
alorbach force-pushed the dist/dockersetup branch from 512bafc to ede5ff9 Compare May 4, 2026 14:37
@alorbach

alorbach commented May 4, 2026

Copy link
Copy Markdown
Member Author

@gemini review
@cubic-dev-au review
@codex review

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request overhauls the Docker deployment by introducing multi-stage builds, interactive environment setup scripts, and specialized Compose stacks for development and E2E testing. It also adds support for dynamic disk source configuration via environment variables and improves application robustness with enhanced safety checks and refactored configuration logic. I have no feedback to provide.

chatgpt-codex-connector[bot]

This comment was marked as outdated.

@alorbach
alorbach merged commit d88bd38 into rsyslog:master May 4, 2026
5 checks passed
@alorbach
alorbach deleted the dist/dockersetup branch May 4, 2026 18:52
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