Bref: FPM docker issue

Created on 9 Aug 2019  路  4Comments  路  Source: brefphp/bref

Using a Symfony application (4.3) the only route that i'm able to match is /, besides this I only get:

2019/08/09 17:06:01 [error] 9#9: *6 open() "/var/task/public/ping" failed (2: No such file or directory), client: 172.24.0.1, server: php-docker.local, request: "GET /ping HTTP/1.1", host: "localhost:8000"

my docker-compose.yml configuration is:

version: "3.5"

services:
  web:
    image: bref/fpm-dev-gateway
    ports:
      - '8000:80'
    volumes:
      - .:/var/task
    depends_on:
      - php
    environment:
      HANDLER: public/index.php
      DOCUMENT_ROOT: public
  php:
    image: bref/php-73-fpm-dev
    volumes:
      - .:/var/task:ro

bug

All 4 comments

Thanks for the report, pinging @Guillaume-Rossignol

I have pushed new Docker images, could you try them after running docker-compose pull?

yes it's working now. Thanks!

Was this page helpful?
0 / 5 - 0 ratings