Skip to content

Conversation

@ColonelThirtyTwo
Copy link
Contributor

This adds a docker compose file template and workflow for generating a docker compose file that uses the docker images published to the GHCR.

Ghostwriter-CLI will eventually download this file to set up Ghostwriter instances, rather than using a source code checkout, to avoid needing to build the containers and all of the inefficiencies and potential issues with doing so.

As with the two existing docker compose files included in the source tree, this compose file isn't intended to be used standalone, as it lacks the configuration env vars and will not perform the first time setup like installing fixtures.

@ColonelThirtyTwo ColonelThirtyTwo force-pushed the gh-cli-docker-compose-file branch 2 times, most recently from e8a7401 to 7378eba Compare January 20, 2026 19:14
@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.43%. Comparing base (e8b2b75) to head (ec50864).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #803   +/-   ##
=======================================
  Coverage   91.43%   91.43%           
=======================================
  Files         368      368           
  Lines       20941    20941           
=======================================
  Hits        19148    19148           
  Misses       1793     1793           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ColonelThirtyTwo ColonelThirtyTwo force-pushed the gh-cli-docker-compose-file branch from 7378eba to eb5745f Compare January 20, 2026 21:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds infrastructure for deploying Ghostwriter using pre-built container images from GHCR instead of building from source. It introduces a Docker Compose template (gw-cli.yml) that will be processed by Ghostwriter-CLI to generate deployment configurations, along with a GitHub Actions workflow to automatically publish versioned compose files on releases.

Changes:

  • Added gw-cli.yml Docker Compose template with service definitions for django, postgres, nginx, redis, queue, graphql_engine, and collab-server using GHCR images
  • Added GitHub Actions workflow to substitute version placeholders and upload the compose file to releases

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
gw-cli.yml Docker Compose template defining all Ghostwriter services with GHCR image references and placeholder version tags
.github/workflows/gw-cli-compose-file.yml GitHub Actions workflow that replaces <VERSION> placeholders and uploads the compose file to releases

Now that we are publishing docker images, add a docker compose file for
Ghostwriter-CLI to download that uses those images.

Add a workflow that replaces the version in the gw-cli.yml file with the
current version and adds it as a release file, so that gw-cli can fetch
it.
@chrismaddalena chrismaddalena merged commit e22fb59 into GhostManager:master Jan 22, 2026
8 checks passed
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.

2 participants