GithubHelp home page GithubHelp logo

k1m0ch1 / high-performance-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from habibiefaried/high-performance-web

0.0 2.0 0.0 182 KB

Building my website with docker alpine image, pagespeed, php-fpm, mysql, redis. Feel free to use it too :)

Home Page: http://habibiefaried.com

License: MIT License

Shell 6.29% Nginx 6.30% HTML 0.08% PHP 0.09% C 87.24%

high-performance-web's Introduction

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

  1. Alpine OS (very light image/os)
  2. Nginx 1.11.2
  3. Google PageSpeed 1.11.33.4-0 (Thanks @lagun4ik !)
  4. PHP-FPM 5.6 with PECL (with many extensions)
  5. MySQL
  6. PHPMyAdmin and phpinfo (basic needs)
  7. Redis and PHPRedisAdmin
  8. 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

Screenshots

picture alt picture alt picture alt picture alt

Credits

  1. Me

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.