-
Notifications
You must be signed in to change notification settings - Fork 1
Add profile-based docker-compose for development environments #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
|
@Taucher2003 @raphael-goetz do you think we could use that, because our current implementation sucks |
|
@copilot We don’t have a latest tag, make that configurable which image is used, also add an „runtime“ profile to start Aquila, Taurus and draco |
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
Done! Changes in commit 6a7542a:
./dev.sh start runtimeThe runtime profile automatically includes NATS as a dependency, and all three runtime services can now be started with a single command. |
|
No description provided. |
|
@copilot the tags are pipeline ids and not git stuff |
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
Fixed in commit a812ae2:
All services now use the correct |
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
Developers need to selectively run services in Docker while developing others locally. This adds a profile-based docker-compose configuration where each service can be started independently with its dependencies automatically included.
Implementation
docker-compose.dev.yml: Profile-based service configuration
all,database,messaging,sagittarius,sagittarius-web,sagittarius-grpc,runtime,aquila,taurus,draco,sculptorci-buildsrepository path:ghcr.io/code0-tech/reticulum/ci-builds/.envfile.env.example: Reference configuration showing all customizable variables (ports, database credentials, NATS URLs, runtime tokens, log levels, pipeline ID image tags)
dev.sh: Helper script for common operations with environment variable validation
start,stop,logs,ps,down,cleanREADME.dev.md: Comprehensive documentation including profile explanations, common scenarios, service ports reference, troubleshooting, and pipeline ID image tag configuration guide
Usage
Important Notes
.envfile with pipeline IDs - there are no defaultsAQUILA_TAG=12345orSAGITTARIUS_TAG=12345-rubySecurity Note
Default passwords are weak and suitable for local development only.
.envis gitignored to prevent credential leaks.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.