projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update of Packer builder for Vagrant and various clouds
[osm/devops.git]
/
installers
/
docker
/
docker-compose.yaml
diff --git
a/installers/docker/docker-compose.yaml
b/installers/docker/docker-compose.yaml
index
25ed061
..
fe15b8a
100644
(file)
--- a/
installers/docker/docker-compose.yaml
+++ b/
installers/docker/docker-compose.yaml
@@
-40,10
+40,10
@@
services:
networks:
- netOSM
healthcheck:
networks:
- netOSM
healthcheck:
- test: echo
stat | nc
localhost 2181
- interval:
1
0s
+ test: echo
ruok | nc -w 2
localhost 2181
+ interval:
2
0s
timeout: 10s
timeout: 10s
- retries:
3
+ retries:
5
logging:
driver: "json-file"
options:
logging:
driver: "json-file"
options:
@@
-70,7
+70,7
@@
services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
healthcheck:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
healthcheck:
- test:
zookeeper-shell.sh zookeeper:2181 ls /brokers/ids 2>&1 | grep "Node does not exist" && exit 1 || exit 0
+ test:
echo ruok | nc -w 2 zookeeper 2181
interval: 20s
timeout: 10s
retries: 5
interval: 20s
timeout: 10s
retries: 5