The alpine nginx container doesn't contain curl, so let's override the healthcheck command to use wget.
14 lines
204 B
YAML
14 lines
204 B
YAML
service: app
|
|
image: app
|
|
servers:
|
|
- vm1
|
|
- vm2
|
|
registry:
|
|
server: registry:4443
|
|
username: root
|
|
password: root
|
|
builder:
|
|
multiarch: false
|
|
healthcheck:
|
|
cmd: wget -qO- http://localhost > /dev/null
|