mirror of
https://github.com/sablierapp/sablier.git
synced 2026-01-03 03:27:28 +01:00
Docker classic IsUp will return false when the container defines a healthcheck and is not healthy, otherwise as soon as it's started it's up. Docker swarm will check that the number of required tasks is higher than 1, and that the number of running tasks matches the number of desired tasks. A task is not running when it defines a healthcheck and is not healthy.
36 lines
1.4 KiB
Modula-2
36 lines
1.4 KiB
Modula-2
module github.com/acouvreur/traefik-ondemand-service
|
|
|
|
go 1.17
|
|
|
|
require (
|
|
github.com/Microsoft/go-winio v0.5.0 // indirect
|
|
github.com/containerd/containerd v1.5.5 // indirect
|
|
github.com/docker/docker v20.10.8+incompatible
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/gorilla/mux v1.8.0 // indirect
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
github.com/sirupsen/logrus v1.8.1
|
|
github.com/stretchr/testify v1.7.0
|
|
golang.org/x/net v0.0.0-20210924151903-3ad01bbaa167 // indirect
|
|
golang.org/x/sys v0.0.0-20210927052749-1cf2251ac284 // indirect
|
|
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
|
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0 // indirect
|
|
gopkg.in/dc0d/tinykv.v4 v4.0.1
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/distribution v2.7.1+incompatible // indirect
|
|
github.com/docker/go-units v0.4.0 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/stretchr/objx v0.3.0 // indirect
|
|
google.golang.org/grpc v1.41.0 // indirect
|
|
google.golang.org/protobuf v1.27.1 // indirect
|
|
)
|