HomeSoftware Heritage

docker: Bump compose file format version to 2.1

Description

docker: Bump compose file format version to 2.1

rDENV5db372fcb5abf45f3a95545029e525a2a149a91c introduced the use of the
healthcheck feature from docker-compose.

The healtcheck feature was introduced with version 2.1 of the Compose
file format.

So bump Compose file format version to 2.1 in compose files in order
to avoid the following error when using docker-compose < 1.27:

"depends_on contains an invalid type, it should be an array"

Details

Provenance
anlambertAuthored on Feb 17 2021, 5:20 PM
anlambertPushed on Feb 17 2021, 5:48 PM
Differential Revision
D5097: docker: Bump compose file format version to 2.1
Parents
rDENV668b4df1f0ec: docker: Enable swh-search backend in swh-web when using elasticsearch
Branches
Unknown
Tags
Unknown