Commit c54079be authored by Mikaël Salson's avatar Mikaël Salson
Browse files

docker-compose.yml: restart workers when they fail (for CI)

This may happen at startup if there are conflicts with the launch of uwsgi
parent 3e1ae787
......@@ -60,6 +60,11 @@ after_volumes2{
after_volumes2=0
}
}
after_workers {
print " restart: always"
after_workers=0
}
/volumes:/{
after_volumes=1
after_volumes2=1
......@@ -74,6 +79,9 @@ after_volumes2{
after_ports=1
next
}
/workers:$/ {
after_workers=1
}
/^\s{3,6}(nginx|fuse|uwsgi|workers|mysql):$/{
after_service=1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment