trying to get hostname resoultion working
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -13,9 +13,6 @@ job "drone-runner" {
|
||||
port "http" {
|
||||
to = 3000
|
||||
}
|
||||
dns {
|
||||
servers = ["172.16.23.1"]
|
||||
}
|
||||
}
|
||||
volume "drone-runner" {
|
||||
type = "csi"
|
||||
@@ -28,6 +25,11 @@ job "drone-runner" {
|
||||
service {
|
||||
name = "drone-runner"
|
||||
port = "http"
|
||||
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.drone-runner.rule=Host(`drone-runner.service.nr5`)",
|
||||
]
|
||||
}
|
||||
|
||||
restart {
|
||||
@@ -65,8 +67,15 @@ job "drone-runner" {
|
||||
DRONE_RUNNER_CAPACITY = 1
|
||||
DRONE_LOGS_DEBUG = true
|
||||
DRONE_LOGS_TRACE = true
|
||||
DRONE_TRACE = true
|
||||
DOCKER_BUILDKIT = 1
|
||||
DRONE_GIT_ALWAYS_AUTH = true
|
||||
DRONE_UI_DISABLE = false
|
||||
DRONE_UI_USERNAME = "root"
|
||||
DRONE_UI_PASSWORD = "root"
|
||||
DRONE_RUNNER_CLONE_IMAGE = "drone/git"
|
||||
DRONE_RUNNER_NETWORKS = "podman"
|
||||
DRONE_RUNNER_VOLUMES = "/etc/hosts:/etc/hosts"
|
||||
}
|
||||
|
||||
resources {
|
||||
|
||||
Reference in New Issue
Block a user