This is an oversimplifed demo of an PHP application ready to scale ^_^
Dockerfile is in place.
- Install deps
composer install
- Configure your environment variables in
.env
see.env.example
- Run it.
php -S 0.0.0.0:4000 index.php
- Visit http://localhost:4000
- Run
docker build -t phpjalisco-scaling-php
- Run
docker run -t phpjalisco-scaling-php -p 4000:80
- Visit http://localhost:4000