Skip to content

Commit 1620edb

Browse files
committed
service/nomad/build: move root-pkgs-httpd into host namespace
1 parent 1a82a8f commit 1620edb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

services/nomad/build/root-pkgs-httpd.nomad

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ job "build-mirror" {
55

66
group "busybox" {
77
network {
8-
mode = "bridge"
8+
mode = "host"
99
port "http" {
1010
to = 80
1111
static = 80
@@ -29,6 +29,7 @@ job "build-mirror" {
2929
config {
3030
image = "busybox:1.32-musl"
3131
args = ["httpd", "-f", "-p", "80", "-h", "/pkgs"]
32+
network_mode = "host"
3233
}
3334

3435
volume_mount {

0 commit comments

Comments
 (0)