Skip to content

Commit

Permalink
chore: add headless handle projector
Browse files Browse the repository at this point in the history
  • Loading branch information
bernokl committed Sep 12, 2024
1 parent 6542913 commit 4eb7064
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions nix/cardano-services/deployments/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -873,22 +873,24 @@ in
value
// {
context = "eks-admin";
projectors.asset.enabled = true;
projectors.handle.enabled = true;

values = {
ingress.enabled = false;
};
})) {
#"live-mainnet@us-east-2@asset" = {
# name = "tmp-cardanojs";
# namespace = "live-mainnet";
# network = "mainnet";
# region = "us-east-2";
#};
"dev-preview@us-east-1@handle" = {
name = "tmp-cardanojs";
namespace = "dev-preview";
network = "preview";
region = "us-east-1";
# TODO: something like this for alternate database?
# handle.databaseName = "handlelv2";
};
});

targetGroups = targets: {
#ASSET = lib.filterAttrs (name: _: lib.hasSuffix "asset" name) targets;
HANDLE = lib.filterAttrs (name: _: lib.hasSuffix "handle" name) targets;
DEV = lib.filterAttrs (name: _: lib.hasPrefix "dev-" name) targets;
LIVE = lib.filterAttrs (name: _: lib.hasPrefix "live-" name) targets;
OPS = lib.filterAttrs (name: _: lib.hasPrefix "ops-" name) targets;
Expand Down

0 comments on commit 4eb7064

Please sign in to comment.