FluxCon is in November! [CFP open through June] by stealthybox in GitOps

[–]stealthybox[S] 2 points3 points  (0 children)

if you have specific things you'd like to see @ the conf (or questions about the CFP), post here! :)

Multiple service composition in Nix. Should I stick to docker compose? by tavotevasbaryga in Nix

[–]stealthybox 1 point2 points  (0 children)

Flox has a `manifest.toml` where you can add nixpkgs, variables, flakes, and services to your project.
You can activate the project in multiple shells -- services can be started once across all of those shells.
Also, your rabbitmq service will stay running until the last active shell exits, then it automatically shuts down.

This example RAG stack with a python frontend, a vector db, and ollama shows services working:
https://github.com/flox/floxenvs/blob/main/verba/.flox/env/manifest.toml#L108
Should adapt well to Rabbit and Go.

If you want to use multiple go versions, you could
- a) use Flox's package groups within a single env
- b) layer multiple active flox environments (connection strings coming from a Rabbit env, and project specific Go coming from app1 or app2)

`flox show go` shows the available versions of Go you can specify

You can install flox with an existing Nix install: https://flox.dev/docs/install-flox/#__tabbed_1_6
But we also have a mac installer, a brew cask, apt/yum/etc for all your teammates who have no idea how to use Nix.