Add Docker/Compose deployment support and publish container images to GHCR#28
Merged
Merged
Conversation
Add first-class containerization support for goPool. - add multi-stage Dockerfile for Go 1.26 + ZeroMQ build/runtime - add docker-compose.yml with persistent ./data mount - add env.example for common build/runtime settings - add GHCR release workflow job for multi-arch container images - grant packages:write for container publishing - document Docker/Compose usage in README and operations docs - ignore vendor/ in gitignore This makes local deployment, reproducible builds, and container publishing much easier while keeping the existing native build path.
Owner
|
Been meaning to make one for it, thanks for the PR! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
=======================================
Coverage 33.96% 33.96%
=======================================
Files 131 131
Lines 21316 21316
=======================================
Hits 7240 7240
Misses 12637 12637
Partials 1439 1439 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
This PR adds first-class containerization support for goPool and wires container image publishing into the release workflow.
What changed
Dockerfiledocker-compose.yml./databind mountenv.examplebuild-containerjoblinux/amd64andlinux/arm64ghcr.io/${{ github.repository }}packages: writepermission required for GHCR publishingvendor/to.gitignoreWhy
This makes goPool easier to:
./dataNotes
BUILD_TIMEandBUILD_VERSION./datadirectoryValidation
./data