Giter VIP home page Giter VIP logo

ishtarstar / docker-compose-nginx-phpfpm-xdebug-mariadb Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 20.0 2.17 MB

The primary goal of this project is to create a streamlined and efficient development environment using Docker Compose. This environment will consist of PHP-FPM, Xdebug, Nginx web server, and MariaDB, enabling developers to quickly and easily start working on their PHP projects.

Home Page: https://marc.it/dockerize-application-with-nginx-and-php8/

Dockerfile 58.61% PHP 41.39%
docker mariadb nginx php php83 redis

docker-compose-nginx-phpfpm-xdebug-mariadb's People

Contributors

ishtarstar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-compose-nginx-phpfpm-xdebug-mariadb's Issues

Can't see volume file?

Hello,

First of all, thank you for this handy docker compose set up.
I'm no docker specialist, and I face a problem and I tracked it down to the following: The /usr/local/etc/php/conf/666-overrides.ini is not taken into account by my setup. When I run

$ docker-compose run --rm php-fpm ls /usr/local/etc/php/conf.d
[+] Running 1/0
 ⠿ Container docker-compose-nginx-phpfpm-xdebug-mariadb-mariadb-1  Running                      0.0s
docker-php-ext-mysqli.ini     docker-php-ext-sodium.ini  docker-php-ext-zip.ini
docker-php-ext-pdo_mysql.ini  docker-php-ext-xdebug.ini

as you see, I do not see the 666-overrides.ini file.
If I do a shell on the the php-fpm image,
I am using Docker Desktop on MacOS, engine 20.10.12, docker-compose 2.2.3.
As I said, I'm no docker specialist, how can I further track down the issue? Thank you.

PS: I added adminer to your set up, and my php app (Yii2-based) works OK except that I have to pass a few php.ini parameters and I'm stuck with the fact that the file 666-overrides.ini is not taken into account. I've found other workarounds, but I'd like to understand why I don't see that file.
Thank you for your help.

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.