aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cluster/staging/app/im/deploy/im-nix.hcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/cluster/staging/app/im/deploy/im-nix.hcl b/cluster/staging/app/im/deploy/im-nix.hcl
index 9cf78e5..4cc3b0e 100644
--- a/cluster/staging/app/im/deploy/im-nix.hcl
+++ b/cluster/staging/app/im/deploy/im-nix.hcl
@@ -55,7 +55,7 @@ job "im" {
resources {
memory = 100
- memory_max = 1000
+ memory_max = 500
cpu = 1000
}
}
@@ -174,7 +174,6 @@ AWS_ACCESS_KEY_ID={{ key "secrets/synapse/s3_access_key" | trimSpace }}
AWS_SECRET_ACCESS_KEY={{ key "secrets/synapse/s3_secret_key" | trimSpace }}
AWS_DEFAULT_REGION=garage-staging
S3_ENDPOINT=http://{{ env "attr.unique.network.ip-address" }}:3990
-
EOH
destination = "secrets/env"
env = true
@@ -205,7 +204,7 @@ EOH
resources {
memory = 200
- memory_max = 1000
+ memory_max = 200
cpu = 100
}
}