Skip to content

claudiomecenas/setup-docker-laravel-11-BR

Repository files navigation

  • Setup Docker com mysql e phpmyadmin
  • Timezone ajustado para o Brasil
  • Adicionado extensões PHP exigidas pelo Filament

Passo a passo

Clone Repositório

git clone -b main https://github.com/claudiomecenas/setup-docker-laravel-11-BR.git app-laravel
cd app-laravel

Crie o Arquivo .env

cp .env.example .env

Edite o .env para usar Redis

SESSION_DRIVER=redis
QUEUE_CONNECTION=redis  
CACHE_STORE=redis  
REDIS_HOST=redis  

Suba os containers do projeto

docker compose up -d

Acesse o container app

docker compose exec app bash

Instale as dependências do projeto

composer install
composer update

Gere a key do projeto Laravel

php artisan key:generate

Rodar as migrations

php artisan migrate

Acesse o projeto http://localhost:8989

About

Setup docker com Laravel 11 (America/Sao_paulo) e PHP 8.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published