Some Error handling and acceptance tests
This commit is contained in:
@@ -27,6 +27,7 @@ services:
|
||||
- app
|
||||
links:
|
||||
- app
|
||||
- apidocs
|
||||
volumes:
|
||||
- ./docker/docker-vhost.conf:/etc/nginx/sites-enabled/vhost.conf
|
||||
|
||||
@@ -52,3 +53,17 @@ services:
|
||||
entrypoint:
|
||||
- composer
|
||||
- install
|
||||
|
||||
# generate api documentation, then exits
|
||||
apidocs:
|
||||
image: apidocs:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/Dockerfile-apidocs
|
||||
volumes:
|
||||
- .:/src
|
||||
environment:
|
||||
- DOCS_DIR=public/docs
|
||||
- APP_DIR=./app
|
||||
- FILE_FILTER="[Http\/Controllers\/|routes\/].*php"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user