Skip to content

Commit

Permalink
Set resource requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Sep 13, 2024
1 parent 14502a4 commit 17e231e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/deploy/production.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ job "imagecat-production" {
ports = ["http"]
force_pull = true
}
resources {
cpu = 1000
memory = 500
}
template {
destination = "${NOMAD_SECRETS_DIR}/env.vars"
env = true
Expand Down
4 changes: 4 additions & 0 deletions config/deploy/staging.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ job "imagecat-staging" {
ports = ["http"]
force_pull = true
}
resources {
cpu = 1000
memory = 500
}
template {
destination = "${NOMAD_SECRETS_DIR}/env.vars"
env = true
Expand Down

0 comments on commit 17e231e

Please sign in to comment.