gitea-runner and registry-ui
This commit is contained in:
61
apps/docker-registry/live-ui.hcl
Normal file
61
apps/docker-registry/live-ui.hcl
Normal file
@@ -0,0 +1,61 @@
|
||||
job "docker-registry-ui" {
|
||||
datacenters = [
|
||||
"nummer5",
|
||||
]
|
||||
type = "service"
|
||||
|
||||
group "apps" {
|
||||
count = 1
|
||||
|
||||
network {
|
||||
mode = "host"
|
||||
port "http" {
|
||||
to = 80
|
||||
}
|
||||
}
|
||||
|
||||
service {
|
||||
name = "cr-ui"
|
||||
port = "http"
|
||||
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.cr-ui.rule=Host(`cr-ui.service.nr5`)",
|
||||
]
|
||||
}
|
||||
|
||||
restart {
|
||||
attempts = 5
|
||||
delay = "30s"
|
||||
}
|
||||
|
||||
task "docker-registry-ui" {
|
||||
driver = "podman"
|
||||
config {
|
||||
image = "docker.io/joxit/docker-registry-ui:main"
|
||||
ports = ["http"]
|
||||
}
|
||||
|
||||
env {
|
||||
DELETE_IMAGES = "true"
|
||||
REGISTRY_TITLE = "Nummer5 Reg"
|
||||
NGINX_PROXY_PASS_URL_DISABLED = "http://cr.wks"
|
||||
REGISTRY_URL = "http://cr.wks"
|
||||
SINGLE_REGISTRY = "true"
|
||||
SHOW_CONTENT_DIGEST = "true"
|
||||
SHOW_CATALOG_NB_TAGS = "true"
|
||||
CATALOG_MIN_BRANCHES = "1"
|
||||
CATALOG_MAX_BRANCHES = "1"
|
||||
TAGLIST_PAGE_SIZE = "100"
|
||||
REGISTRY_SECURED = "false"
|
||||
CATALOG_ELEMENTS_LIMIT = "1000"
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 100
|
||||
memory = 64
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user