Run in terminal:
git clone https://github.com/Grzyb9k/crud-laravel-vue-docker-example
docker-compose up
To load the database structure along with demo data:
docker-compose run --rm php /var/www/artisan migrate:fresh --seed
Default admin account:
localhost/admin/login
Login: hello@world.com
Password: secret
npm run dev
docker-compose run --rm npm npm run dev
npm run prod
docker-compose run --rm npm npm run prod
- nginx -
:80
- mysql -
:3306
- php -
:9000
- redis -
:6379
- mailhog -
:8025