Skip to content
Snippets Groups Projects
Commit eb4912dc authored by uıןǝnbsɐW ןǝɐʞɔıW's avatar uıןǝnbsɐW ןǝɐʞɔıW
Browse files

Update project.nomad

parent daac2efc
Branches
No related tags found
No related merge requests found
......@@ -2,10 +2,9 @@ job "whoami" {
type = "service"
datacenters = ["cristal"]
meta {
git_sha = "[[.git_sha]]"
git_sha = "[[${CI_COMMIT_SHORT_SHA}]]"
}
group "whoami" {
count = 1
network {
port "http" {
......@@ -13,10 +12,6 @@ job "whoami" {
}
}
update {
max_parallel = 1
}
task "server" {
env {
PORT = "${NOMAD_PORT_http}"
......@@ -27,6 +22,7 @@ job "whoami" {
artifact {
source = "[[.artifact_url]]"
destination = "local/pages"
}
config {
......@@ -37,9 +33,6 @@ job "whoami" {
resources {
cpu = 128
memory = 128
network {
mbits = 10
}
}
service {
......@@ -56,7 +49,7 @@ job "whoami" {
type = "http"
path = "/"
interval = "5s"
timeout = "1s"
timeout = "2s"
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment