update ressource memory

This commit is contained in:
vincent 2022-05-12 11:36:04 +02:00
parent af02cacb12
commit eee3691f96
13 changed files with 65 additions and 12 deletions

View File

@ -33,6 +33,9 @@ job "chainetv" {
image = "ducampsv/chainetv:latest" image = "ducampsv/chainetv:latest"
ports = ["http"] ports = ["http"]
} }
resources {
memory = 200
}
} }
} }

View File

@ -20,7 +20,7 @@ job "deconz" {
port "ws" {} port "ws" {}
} }
task "server" { task "deconz" {
driver = "docker" driver = "docker"
service { service {
name = "deconz" name = "deconz"
@ -44,6 +44,9 @@ job "deconz" {
DECONZ_WEB_PORT = "${NOMAD_PORT_http}" DECONZ_WEB_PORT = "${NOMAD_PORT_http}"
DECONZ_WS_PORT = "${NOMAD_PORT_ws}" DECONZ_WS_PORT = "${NOMAD_PORT_ws}"
} }
resources {
memory = 75
}
} }

View File

@ -59,6 +59,9 @@ job "drone" {
destination = "local/drone.env" destination = "local/drone.env"
env = true env = true
} }
resources {
memory = 100
}
} }
task "drone-runner"{ task "drone-runner"{
@ -83,6 +86,9 @@ job "drone" {
destination = "local/drone-runner.env" destination = "local/drone-runner.env"
env = true env = true
} }
resources {
memory = 50
}
} }
} }
@ -113,6 +119,9 @@ job "drone" {
destination = "local/drone-runner.env" destination = "local/drone-runner.env"
env = true env = true
} }
resources {
memory = 50
}
} }
} }

View File

@ -80,6 +80,9 @@ job "git" {
destination = "secrets/gitea.env" destination = "secrets/gitea.env"
env = true env = true
} }
resources {
memory = 300
}
} }
} }
} }

View File

@ -13,7 +13,7 @@ job "pacoloco" {
to = 9129 to = 9129
} }
} }
task "server" { task "pacoloco-server" {
driver = "docker" driver = "docker"
service { service {
name = "pacoloco" name = "pacoloco"
@ -56,6 +56,9 @@ prefetch:
EOH EOH
destination = "local/pacoloco.yaml" destination = "local/pacoloco.yaml"
} }
resources {
memory = 200
}
} }
} }

View File

@ -61,6 +61,9 @@ job "pihole" {
destination="local/dnsmasq.d/02-localresolver.conf" destination="local/dnsmasq.d/02-localresolver.conf"
} }
resources {
memory = 200
}
} }
} }
} }

View File

@ -83,6 +83,9 @@ EOH
timeout = "2s" timeout = "2s"
} }
} }
resources {
memory = 200
}
} }
} }
} }

View File

@ -16,7 +16,7 @@ job "radicale" {
policies= ["acces-policy"] policies= ["acces-policy"]
} }
task "server" { task "radicale" {
driver = "docker" driver = "docker"
service { service {
name = "radicale" name = "radicale"
@ -62,6 +62,9 @@ job "radicale" {
EOH EOH
destination = "local/config" destination = "local/config"
} }
resources {
memory = 100
}
} }
} }

View File

@ -37,7 +37,7 @@ job "supysonic" {
] ]
} }
task "frontend" { task "supysonic-frontend" {
driver = "docker" driver = "docker"
config { config {
image= "nginx:alpine" image= "nginx:alpine"
@ -76,9 +76,11 @@ http {
destination = "etc/nginx/nginx.conf" destination = "etc/nginx/nginx.conf"
} }
resources {
memory = 75
} }
task "server" { }
task "supysonic-server" {
driver = "docker" driver = "docker"
config { config {
image = "ogarcia/supysonic:full-sql" image = "ogarcia/supysonic:full-sql"
@ -105,6 +107,9 @@ http {
destination = "secrets/supysonic.env" destination = "secrets/supysonic.env"
env = true env = true
} }
resources {
memory = 256
}
} }
} }

View File

@ -21,7 +21,7 @@ job "traefik-ingress" {
vault{ vault{
policies=["access-tables"] policies=["access-tables"]
} }
task "server" { task "traefik-ingress" {
driver = "docker" driver = "docker"
service { service {
name = "traefik" name = "traefik"
@ -97,6 +97,9 @@ job "traefik-ingress" {
left_delimiter = "{{{" left_delimiter = "{{{"
right_delimiter = "}}}" right_delimiter = "}}}"
} }
resources {
memory = 200
}
} }
} }
} }

View File

@ -25,7 +25,7 @@ job "traefik-local" {
policies=["access-tables"] policies=["access-tables"]
} }
task "server" { task "traefik-local" {
driver = "docker" driver = "docker"
service { service {
name = "traefik-local" name = "traefik-local"
@ -109,6 +109,9 @@ job "traefik-local" {
left_delimiter = "{{{" left_delimiter = "{{{"
right_delimiter = "}}}" right_delimiter = "}}}"
} }
resources {
memory = 200
}
} }
} }
} }

View File

@ -61,9 +61,12 @@ job "tt-rss" {
env = true env = true
} }
resources {
memory = 150
}
} }
task "updater" { task "ttrss-updater" {
driver = "docker" driver = "docker"
config { config {
image = "cthulhoo/ttrss-fpm-pgsql-static" image = "cthulhoo/ttrss-fpm-pgsql-static"
@ -90,9 +93,12 @@ job "tt-rss" {
env = true env = true
} }
resources {
memory = 150
}
} }
task "frontend" { task "ttrss-frontend" {
driver = "docker" driver = "docker"
config { config {
image= "nginx:alpine" image= "nginx:alpine"
@ -171,6 +177,9 @@ job "tt-rss" {
destination = "etc/nginx/nginx.conf" destination = "etc/nginx/nginx.conf"
} }
resources {
memory = 50
}
} }
} }

View File

@ -17,7 +17,7 @@ job "vaultwarden" {
policies= ["access-tables"] policies= ["access-tables"]
} }
task "server" { task "vaultwarden" {
driver = "docker" driver = "docker"
service { service {
name = "vaultwarden" name = "vaultwarden"
@ -64,6 +64,9 @@ job "vaultwarden" {
destination = "secrets/vaultwarden.env" destination = "secrets/vaultwarden.env"
env = true env = true
} }
resources {
memory = 150
}
} }
} }