forked from Deuxfleurs/nixcfg
Remove useless admin port in tricot
This commit is contained in:
parent
f96b036283
commit
26a072654e
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ job "frontend" {
|
||||||
network {
|
network {
|
||||||
port "http_port" { static = 80 }
|
port "http_port" { static = 80 }
|
||||||
port "https_port" { static = 443 }
|
port "https_port" { static = 443 }
|
||||||
port "admin_port" { static = 8082 }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task "server" {
|
task "server" {
|
||||||
|
@ -17,7 +16,7 @@ job "frontend" {
|
||||||
image = "lxpz/amd64_tricot:28"
|
image = "lxpz/amd64_tricot:28"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
readonly_rootfs = true
|
readonly_rootfs = true
|
||||||
ports = [ "http_port", "https_port", "admin_port" ]
|
ports = [ "http_port", "https_port" ]
|
||||||
volumes = [
|
volumes = [
|
||||||
"secrets:/etc/tricot",
|
"secrets:/etc/tricot",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue