OWASP / crAPI

completely ridiculous API (crAPI)
Apache License 2.0
1.08k stars 340 forks source link

Vagrant docker interface issue #203

Closed renatorpn closed 1 year ago

renatorpn commented 1 year ago

Description

Vagrant deployment according to the documentation was not working as expected. The reason being sed -e pattern inside deployment script was not correct, therefore not performing the substitution of that string.

As a result the docker containers would spin with config 127.0.0.1:8888:80. This means the container is only exposed on the 127.0.0.1 interface and would not be accessible outside the VM box.

This change fixes #202 by modifying the /deploy/vagrant/provision.sh to use the correct sed -e replacement pattern to match the pattern on docker-compose.yml file.

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested the service locally.

Documentation

Did not need to update documentation.

Checklist: