I’ve created a docker with a database and a php server but I’m failing accessing the php file from the server. For testing purpose I’m currently having 2 index.php in my test app ./index.php and ./app/index.php This is my docker-compose.yml version: ‘3’ services: symfony: build: context: . dockerfile: docker/Dockerfile image: project-manager ports: – 80:80 db: ..
I have a dockerized symfony project and I’m trying to delpoy it in GPC on Kubernetes cluster. In development I use docker-compose and I have two sepparate containers for php-fpm and nginx. When I run docker-compose up –build, it all works fine, but when I try to create a kubernetes cluster I get this error ..
Im using docker and I have 3 services. An api service, a mysql service and phpmyadmin service. When I try to import an .sql file I get a 413 Request body too large error. I have tried changing the nginx.conf settings in my phpmyadmin service, and the php.ini one with no luck. Basically everytime I ..
I was wondering do I have to change anything in my docker setup when trying to run the same on Windows machine?(running fine on Ubuntu 20.04) php-fpm is giving me errors… docker-compose file version: ‘3’ services: php_fpm: build: .docker/php-fpm depends_on: – mariadb volumes: – ./:/var/www/html/learnit – ./var/log:/var/log env_file: – .env entrypoint: [ "./bin/entrypoint.sh" ] command: ..
How can I install all needed php extension on this docker image to run symfony 5. At this moment I can’t run composer install cos following error. Problem 1 – Installation request for lorenzo/pinky 1.0.5 -> satisfiable by lorenzo/pinky[1.0.5]. – lorenzo/pinky 1.0.5 requires ext-xsl * -> the requested PHP extension xsl is missing from your ..
I’ve just setup a RabbitMQ Docker container to use with a Symfony 5.2 application. But I’m having troubles with auto-exposed env vars from Docker. As the RabbitMQ container is up and running fine, I’m waiting for a RABBITMQ_DSN env var automatically set by Symfony. The weird behaviour is sometimes I do get this env var ..
error error: In AbstractMySQLDriver.php line 112: An exception occurred in driver: SQLSTATE[HY000]  Access denied for user ‘symfony’@’localhost’ (usin g password: YES) In Exception.php line 18: SQLSTATE[HY000]  Access denied for user ‘symfony’@’localhost’ (using password: YES) In PDOConnection.php line 38: SQLSTATE[HY000]  Access denied for user ‘symfony’@’localhost’ (using password: YES) .env : DATABASE_URL=mysql://symfony:[email protected]:3306/symfony?serverVersion=5.7 docker setup: ..
I have this exception went i sent mail through Symfony SwiftMailer: Exception occurred while flushing email queue: Connection could not be established with host 127.0.0.1 :stream_socket_client(): unable to connect to 127.0.0.1:1025 (Connection refused) I can access to Mailhog interface. The container is up dans ports seems open and ready. See below my docker-composer for Mailhog: ..
I’m learning the Symfony framework. I started the example given in the documentation with the book. However, I have a problem with the command symfony new –version=5.0-6 –book guestbook Checking book requirements are good but the step stopping docker containers didn’t work. I got : [WEB] Stopping Docker Containers: [ KO ]  Failed to ..
I have a symfony 3.4 app that works perfectly in production. I try to install it in dev mode (in local) for that I use docker on a virtual machine (ubuntu). The app works (I can access the frontend anywhere I don’t need to be loggued) but when I try to send a form I ..