Skip to content

Docker Guide

Azizul Hakim edited this page Apr 2, 2024 · 2 revisions

1.Configure Your Environment:

Copy .env.example to .env:

Before proceeding, copy the .env.example file to .env to set up your environment variables:

cp .env.example .env

2.Start Docker and run: Launch Docker and run the application with the following command:

docker-compose up

Should be found running in port 8000 and phpmyadmin running at port 8080

3.Running Migration and Other Commands: To execute Laravel-specific commands like migrations,queue,schedule,csfixer etc use the following command:

docker-compose exec app bash
Clone this wiki locally