OWASP / crAPI

completely ridiculous API (crAPI)
Apache License 2.0
1.13k stars 347 forks source link

Added docker-compose compatibility version in readme to avoid Invalid interpolation format issue #135

Closed sanket-mundra closed 2 years ago

sanket-mundra commented 2 years ago

Refers to this issues: #77

Description

Please include a summary of the change, motivation and context.

Testing

I downloaded the docker-compose.yml file using this:

curl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker-compose.yml

I manually installed docker-compose version 1.26.2 and 1.27.0 and tried running both these commands:

docker-compose pull
docker-compose -f docker-compose.yml --compatibility up -d

For docker-compose version 1.26.2, output was:

194725768-6fa251a7-d90d-4e99-8147-a48abe19ad67

For docker-compose version 1.27.0, output was:

194725980-85c155ac-9bba-4018-81a0-f2f916d788dc

Also, I see one commit regarding the interpolation issue in the 1.27.0 docker-compose release. Not very sure about it: Report which variable fails interpolation when they are mandatory

Documentation

Make sure that you have documented corresponding changes in this repository.

Checklist: