mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-18 03:56:35 +00:00
Add resolv.conf and networking hooks
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
17
cmd/up.go
17
cmd/up.go
@ -20,14 +20,27 @@ func runUp(_ *cobra.Command, _ []string) error {
|
||||
pkg.Service{
|
||||
Name: "faas-containerd",
|
||||
Env: []string{},
|
||||
Image: "docker.io/functions/figlet:latest",
|
||||
Image: "docker.io/alexellis2/faas-containerd:0.2.0",
|
||||
Mounts: []pkg.Mount{
|
||||
pkg.Mount{
|
||||
Src: "/run/containerd/containerd.sock",
|
||||
Dest: "/run/containerd/containerd.sock",
|
||||
},
|
||||
},
|
||||
}}
|
||||
},
|
||||
pkg.Service{
|
||||
Name: "gateway",
|
||||
Env: []string{},
|
||||
Image: "docker.io/openfaas/gateway:0.18.7",
|
||||
Mounts: []pkg.Mount{},
|
||||
},
|
||||
pkg.Service{
|
||||
Name: "prometheus",
|
||||
Env: []string{},
|
||||
Image: "docker.io/prom/prometheus:v2.14.0",
|
||||
Mounts: []pkg.Mount{},
|
||||
},
|
||||
}
|
||||
|
||||
start := time.Now()
|
||||
supervisor, err := pkg.NewSupervisor("/run/containerd/containerd.sock")
|
||||
|
Reference in New Issue
Block a user