juspay / services-flake

NixOS-like services for Nix flakes
https://community.flake.parts/services-flake
MIT License
350 stars 30 forks source link

feat: Allow overriding namespace + make default namespace fully qualified #258

Closed srid closed 3 months ago

srid commented 3 months ago

PR description

Tasks

image

After the user overrides it:

image

After the user overrides the local processes as well:

image
srid commented 3 months ago

The other thing we can do here is to support a special service name, "default". Handy for cases where you run exactly 1 service, so both default namespace and the process name can drop it. Instead of db-init, it would just be postgres-init.

EDIT: Could happen in separate PR.

srid commented 3 months ago

To be squash merged.