- Docker
- Docker -> Virtual environments
- Laravel -> PHP Framework
- MariaDB -> Database
- nginx -> Web server
Start docker container
docker-compose up -d
Access for browser
Use to Adminer
Access for browser
http://localhost:1234/adminer.php
item | value |
---|---|
Server | db |
User | root |
Password | root |
Database | testdb |
Document root
/todo
docker-compose exec php-fpm sh
/var/www/html # cd todo/
/var/www/html/todo # php artisan migrate
Access for browser