Skip to content

php-fpm restart service #444

@wesleyvicthor

Description

@wesleyvicthor

Why I cannot find the php-fpm service to restart inside the container ?
I cannot run out of the 502 Bad Gateway error as for some reason my nginx container does not find the php-fpm socket, even changing the listen mode.
I am on OSX my docker-compose as follows:

version: "3"
services:
  web:
    image: nginx:latest
    ports:
      - "8080:80"
    volumes:
      - ./../app:/home/app
      - ./backend.conf:/etc/nginx/conf.d/default.conf
  php:
    image: php:7.1-fpm
    volumes:
      - ./../app:/home/app
    ports:
      - "9000:9000"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions