diff --git a/api/tests/api.suite.dist.yml b/api/tests/api.suite.dist.yml index e210873..3c4624f 100644 --- a/api/tests/api.suite.dist.yml +++ b/api/tests/api.suite.dist.yml @@ -3,6 +3,6 @@ modules: enabled: - \Helper\Api - REST: - url: http://localhost:8090/ + url: http://localhost:8091/ depends: PhpBrowser part: Json \ No newline at end of file diff --git a/compose.yml b/compose.yml index d3ba3ba..885d3cc 100644 --- a/compose.yml +++ b/compose.yml @@ -8,6 +8,19 @@ services: docker: "true" ports: - 8090:80 + volumes: + - ./api:/var/www + - logs:/var/www/logs + test-api: + build: ./api/ + environment: + docker: "true" + DATABASES_HOST: psql.torsten-hettstedt.net + DATABASES_NAME: testdb + DATABASES_USER: bruce + DATABASES_PASS: mypass + ports: + - 8091:80 volumes: - ./api:/var/www - logs:/var/www/logs \ No newline at end of file