it works, maybe service in the wrong place?
This commit is contained in:
@@ -14,7 +14,7 @@ job "gitea" {
|
||||
|
||||
port "ssh" {
|
||||
static = 2222
|
||||
to = 22
|
||||
to = 20222
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ job "gitea" {
|
||||
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.gitea.rule=Host(`gitea.service.consul`)",
|
||||
"traefik.http.routers.http.rule=Host(`gitea.service.consul`)",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user