Category : dockerfile

Docker version : 19.03.12 Postgres version : latest PHP : 7.4 Project in Symfony When I start docker-compose build all is OK But when I would like up the project, I have an error : SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections ..

Read more

I’m having trouble getting this composition to work and hope someone can help me with it. I’m getting a permission error when I try to build the container. I already tried what explained here: https://symfony.com/doc/current/setup/file_permissions.html#using-acl-on-a-system-that-supports-setfacl-linux-bsd But this isn’t fixing my issue. Giving the files chmod -R 777 neither fixes it. docker-compose.yml version: ‘2’ services: server: ..

Read more

I am just trying to get the symfony installer inside my PHP-Dockerfile. As mentioned on the symfony homepage, you should get the symfony installer like this: wget https://get.symfony.com/cli/installer -O – | bash Now I simply paste this command in my Dockerfile like this: # docker/php-fpm/Dockerfile FROM php:7.3.0-fpm-alpine COPY wait-for-it.sh /usr/bin/wait-for-it # include scripts and set ..

Read more