ezsystems / launchpad

CLI tool to bootstrap an eZ Platform project Docker stack | #justcode
https://ezsystems.github.io/launchpad
MIT License
22 stars 27 forks source link

EZP_TEST_REST_HOST environment variable not set #50

Closed SalvatorePollaci closed 5 years ago

SalvatorePollaci commented 5 years ago

It's impossible to run EzPublishRestBundle functional tests, as the client which executes http requests obtains the http host from environment variable 'EZP_TEST_REST_HOST', which should have value 'nginx'.

Solution: Edit docker-compose.yml to include the 'EZP_TEST_REST_HOST' environment variable with value 'nginx' as so:

version: '2.1'
services:
    ...
    engine:
        ...
        environment:
            ...
            - EZP_TEST_REST_HOST=nginx