- Clone project from the GitHub repository
git clone https://github.com/slimprepdevops/lumen-docker.git
- Ensure you have Docker running on the background. Then run the command below on the root directory of the project
docker-compose up -d
- Run the docker command below to migrate and seed the database
docker exec lumen php artisan migrate:fresh --seed
- The project should be running on port
8085
, So all endpoints can be accessed via the base URL below;
localhost:8085/api/v1/