This documentation explains the steps to run the Laravel Filament labnotes project using Docker through the docker-labnotes repository.
labnotes— Laravel Filament Projectdocker-labnotes— Docker Environment to runlabnotes
git clone https://github.com/dxnz-id/labnotes.git
git clone https://github.com/dxnz-id/docker-labnotes.gitFollow the documentation available in labnotes to configure the project to run normally in development mode.
Ensure the project runs properly before moving it to Docker.
Copy all contents of the labnotes folder into the app/ folder inside docker-labnotes/.
cp -r labnotes/* docker-labnotes/app/Ensure the directory structure looks like this:
docker-labnotes/
├── app/
│ ├── artisan
│ ├── app/
│ ├── public/
│ └── ...
cd docker-labnotesCopy the example .env file and adjust the database configuration in the docker-compose.yml file:
cp .env.example app/.envdocker compose builddocker compose up -dEnter the container using the following command:
docker exec -it franken bash
frankenis the name of the main container (app). Ensure it matches the name in thedocker-compose.ymlfile.
Inside the container, run:
php artisan migrate --seedStill inside the container, run:
php artisan storage:linkFor any inquiries, feel free to reach out!