add contraint x64

This commit is contained in:
vincent 2022-11-26 21:04:51 +01:00
parent 83bd59ef03
commit a7b590626f

View File

@ -1,7 +1,13 @@
job "git" {
datacenters = ["homelab"]
type = "service"
meta {
force = 1
}
constraint {
attribute = "${attr.cpu.arch}"
value = "amd64"
}
group "gitea" {
network {
mode = "host"
@ -58,7 +64,7 @@ job "git" {
}
env {
USER_UID = 1000000
USER_GUID = 985
USER_GID = 984
GITEA__server__DOMAIN = "git.ducamps.win"
GITEA__server__ROOT_URL = "https://git.ducamps.win"
GITEA__server__SSH_DOMAIN = "git.ducamps.win"