Skip to content

php service should have depends_on web service #13

@LongLiveCHIEF

Description

@LongLiveCHIEF

If the web service is started before the php service, You'll get an nginx error:

[emerg] 1:1: host not found in upstream "php" in /etc/nginx/conf.d/default.conf:12

Amending the config for web like so will correct this problem:

web:
  # ... other configs
  depends_on:
    - php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions