Building full stack webserver with docker alpine image, pagespeed, php-fpm, mysql, redis. Feel free to use and hack this :)
Because I want to share my webserver configuration, that had already proven with thousand of concurrent connections (in my own real case).
- Alpine OS (very light image/os)
- Nginx 1.11.2
- Google PageSpeed 1.11.33.4-0 (Thanks @lagun4ik !)
- PHP-FPM 5.6 with PECL (with many extensions)
- MySQL
- PHPMyAdmin and phpinfo (basic needs)
- Redis and PHPRedisAdmin
- Composer
Just ./build-docker.sh ;)
Thanks to (alpinelinux.org) team who builds this mini and powerful image. Also I'm using Google PageSpeed and multiple php-fpm pooling. Please see the configuration ;)
This image was designed to use NGROK (https://ngrok.com/) to expose your chosen local port. I've been using it for while and found it useful!
Besides, It's very easy to EXPOSE port isn't it? ;)
Please fork and pull request ;). I'll write your name on credits!
Again, please fork and pull request
- https://github.com/lagun4ik/docker-nginx-pagespeed
- https://github.com/vozlt/nginx-module-vts
- and so much other external parties out there. Thanks!
- Me
You have to put your own security properly. For example, /adminconsole and other paths are still hardcoded. Just don't forget to change that!