Skip to content

php service should have depends_on web service #13

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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