finish service

This commit is contained in:
41666 2023-06-09 05:46:11 -04:00
parent 83ad349f30
commit 6aac273b9a
10 changed files with 214 additions and 41 deletions

27
nomad/metagame.nomad.hcl Normal file
View file

@ -0,0 +1,27 @@
job "metagame" {
type = "service"
update {
max_parallel = 1
stagger = "10s"
}
group "api" {
count = 1
network {
port "http" {
static = 8067
}
}
task "api" {
driver = "docker"
config {
image = "ghcr.io/genudine/metagame/metagame:latest"
ports = ["http"]
}
}
}
}