Add CI workflow to verify Docker Compose file integrity#2
Draft
Add CI workflow to verify Docker Compose file integrity#2
Conversation
Agent-Logs-Url: https://github.com/xormania/ai-docker-stack/sessions/49f0b31e-3acc-459d-bc5f-278b1d1e8940 Co-authored-by: xormania <127287135+xormania@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xormania/ai-docker-stack/sessions/49f0b31e-3acc-459d-bc5f-278b1d1e8940 Co-authored-by: xormania <127287135+xormania@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
xormania
April 19, 2026 06:53
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All compose file combinations lacked automated validation, and several services declared in
.env.exampleand referenced by overlay files were never defined, causingdocker compose configto fail silently.CI Workflow (
.github/workflows/verify-compose.yml)docker compose config --quieton all 6 meaningful compose combinations on push/PR to compose or env filespermissions: contents: readscoped per CodeQL best practiceMissing core services (
compose.yaml)Added qdrant, mongodb, infinity — present in
.env.exampleand README's core infrastructure list but absent from the file. Each gets a named volume for persistence.Missing app service (
compose.apps.yaml)Added openhands — image/port already in
.env.example, security overlay already overrides it, but no base definition existed (causingdocker compose configto error on the security combination).Missing env vars (
.env.example)COUCHDB_URL— derived URL, consistent with the other*_URLvars already presentREDIS_PASSWORD— empty default (Redis ships with no auth); commented to clarify intentPOSTGRES_DB,MYSQL_USER,MYSQL_PASSWORD,MYSQL_DATABASE— generic connection vars consumed by the agent security overlay's URL construction; commented to distinguish from the app-scoped variants