https://github.com/habibiefaried/high-performance-web
  
  
    Building my website with docker alpine image, pagespeed, php-fpm, mysql, redis. Feel free to use it too :) 
    https://github.com/habibiefaried/high-performance-web
  
docker dockerfile mysql mysql-server nginx-php-fpm pagespeed php-fpm redis
        Last synced: 4 months ago 
        JSON representation
    
Building my website with docker alpine image, pagespeed, php-fpm, mysql, redis. Feel free to use it too :)
- Host: GitHub
 - URL: https://github.com/habibiefaried/high-performance-web
 - Owner: habibiefaried
 - License: mit
 - Created: 2017-02-08T00:33:08.000Z (over 8 years ago)
 - Default Branch: master
 - Last Pushed: 2017-06-20T00:57:23.000Z (over 8 years ago)
 - Last Synced: 2025-03-16T10:42:42.612Z (8 months ago)
 - Topics: docker, dockerfile, mysql, mysql-server, nginx-php-fpm, pagespeed, php-fpm, redis
 - Language: C
 - Homepage: http://habibiefaried.com
 - Size: 179 KB
 - Stars: 7
 - Watchers: 1
 - Forks: 7
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
README
          ## Description ##
Building full stack webserver with docker alpine image, pagespeed, php-fpm, mysql, redis. 
Feel free to use and hack this :)
## Why you build this? ##
Because I want to share my webserver configuration, that had already proven with thousand of concurrent connections (in my own real case).
## Features ##
0. Alpine OS (very light image/os)
1. Nginx 1.11.2
2. Google PageSpeed 1.11.33.4-0 (Thanks @lagun4ik !)
3. PHP-FPM 5.6 with PECL (with many extensions)
4. MySQL
5. PHPMyAdmin and phpinfo (basic needs)
6. Redis and PHPRedisAdmin
7. Composer
## How to run ##
Just ./build-docker.sh ;)
## Why this image so light and fast? ##
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 ;)
## Where's EXPOSE command? ##
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? ;)
## This Dockerfile is not well documented and written ##
Please fork and pull request ;). I'll write your name on credits!
## This Dockerfile needs to be improved 
Again, please fork and pull request
## Reference ##
+ https://github.com/lagun4ik/docker-nginx-pagespeed
+ https://github.com/vozlt/nginx-module-vts
+ and so much other external parties out there. Thanks!
## Screenshots ##




## Credits ##
1. Me
2. Yahya @k1m0ch1
# Beware #
You have to put your own security properly. For example, /adminconsole and other paths are still hardcoded. Just don't forget to change that!