Config the docker as you wish. All settings can be found in docker-compose.yml
. Docker has the next services:
- nginx (config can be found in root as 'nginx.sample.conf')
- php7.4-fpm (About libs & ext in Dockerfile)
- mysql (CHANGE EVERY ENVIRONMENT)
- minio (CHANGE ACCESS & SECRET KEY)
Create your ENV based on configurations from docker-compose.yml
- Run
docker-compose build
ORdocker build .
to build the images - Run
docker-compose up -d
to start the container - Run
docker exec -it storage-app bash
to access the machine terminal - Run
composer install
from machine terminal - Done. Access:
http://localhost:8080