theowni / Damn-Vulnerable-RESTaurant-API-Game

Damn Vulnerable Restaurant is an intentionally vulnerable Web API game for learning and training purposes dedicated to developers, ethical hackers and security engineers.
GNU General Public License v3.0
427 stars 65 forks source link

Help needed with launching the app via ./start_app.sh #3

Closed manish-frustated closed 5 months ago

manish-frustated commented 5 months ago

┌──(root㉿kali)-[/opt/Damn-Vulnerable-RESTaurant-API-Game] └─# ./start_app.sh
docker: 'compose' is not a docker command. See 'docker --help'

theowni commented 5 months ago

Hi @manish-frustated, thanks for raising the issue.

Your problem is related with Docker Compose V2 which is not installed on your Kali. You probably have Docker Compose V1. From July 2023 Compose V1 stopped receiving updates, so I decided to use docker compose instead of docker-compose in this project.

Here is the documentation describing the migration process to Docker Compose V2: https://docs.docker.com/compose/migrate/

Let me know if installing new version of Docker Compose resolves the issue. Hope it helps!

theowni commented 5 months ago

Based on the output in the console that you presented, containers are running fine and the web application should be available on http://localhost:8080/.

It's described in the README:

The API service will be exposed at http://localhost:8080/ by default. API documentation can be found at the following endpoints:

Swagger - http://localhost:8080/docs
Redoc - http://localhost:8080/redoc

At this point, you can start hacking, enjoy :)