theowni/Damn-Vulnerable-RESTaurant-API-Game

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

manish-frustated opened this issue · 2 comments

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

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!

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 :)