- Stable version of Docker
- Compatible version of Docker Compose
-
Install Laravel on containers:
./getLaravel.sh
-
Install NPM support for Laravel on containers:
./npmSupport.sh
-
Generate the application key
- Write your key inside the ./source/.env file on
APP_KEY
var - Use artisan to generate the key
docker-compose exec app php artisan key:generate
- Write your key inside the ./source/.env file on
Now you can start coding.
- Install Lumen on containers:
./getLumen.sh
- Laravel (PHP-FPM 7.3 + NGINX Stable)
- Mysql 5.7
- Npm (Node LTS, Stretch Slim) This container will allow you to compile saas and js with Laravel mix
- Phpmyadmin Stable
- Redis 5-stable
- Elasticsearch 5.x
- MongoDB 4-xenial
- Run a command inside a container:
docker-compose exec [container] [command]
- Build all containers
docker-compose build
- Start all containers
docker-compose up -d
- Stop all containers
docker-compose stop
- Restart all containers
docker-compose restart
- Run composer update
docker-compose exec app composer update
- Run composer install
docker-compose exec app composer install