Code Monkey home page Code Monkey logo

Comments (5)

euantorano avatar euantorano commented on July 17, 2024 1

I've just had a super brief look, and it looks like Apache can talk to PHP-FPM: https://www.interserver.net/tips/kb/apache-php-fpm-ubuntu-18-04/

I only use Nginx myself, so can't tell if these instructions are current or anything, and have no experience with Traefik.

from docker.

euantorano avatar euantorano commented on July 17, 2024

MyBB is completely compatible with Apache. Nginx is only used for this image as it is lighter weight (and faster in most cases) than Apache.

from docker.

kawaii avatar kawaii commented on July 17, 2024

It's also worth noting that this Docker image should be considered alpha/experimental software - and shouldn't be used in a production environment unless you're extremely experienced with both Docker and MyBB. I personally use this setup only for testing PRs and plugins since I find it easier than alternative methods of creating a MyBB development environment.

from docker.

MartinMuzatko avatar MartinMuzatko commented on July 17, 2024

With 50k+ Downloads, I am very certain that this is used in production and we use it in production too. It is the highest ranking image you can find on docker hub for mybb. I wasn't aware of any performance impact with apache vs fpm with nginx.

I wanted to use traefik to manage my reverse proxy, not nginx. But Traefik is not built to replace php/apache. It just routes containers to specific rules like host, pathprefix, etc.

I would be already happy with php executables built-in webserver (php -S 0.0.0.0:80)

I don't really grasp why FPM is a good fit for something that you want to access via a webserver anyway.
FPM provides no direct entry to the files via HTTP - right?

Thank you for your advice and for sharing this docker image!

from docker.

MartinMuzatko avatar MartinMuzatko commented on July 17, 2024

thank you, I will read through this. Thank you for the input

from docker.

Related Issues (10)

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.