-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
42 lines (34 loc) · 1012 Bytes
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.7"
services:
composer:
image: composer
volumes:
- .:/app
phar:
image: composer
volumes:
- .:/app
entrypoint: /usr/local/bin/php -d phar.readonly=off phar-composer.phar
command: build . edm-sdk.phar
test:
image: priorist/phpunit
build:
context: .
entrypoint: vendor/bin/phpunit --colors=always --coverage-text
command: tests
working_dir: /app
volumes:
- .:/app
environment:
EDM_URL: ${EDM_URL}
CLIENT_ID: ${CLIENT_ID}
CLIENT_SECRET: ${CLIENT_SECRET}
CLIENT_ID_USER: ${CLIENT_ID_USER}
CLIENT_SECRET_USER: ${CLIENT_SECRET_USER}
USER_LOGIN: ${USER_LOGIN}
USER_PASSWORD: ${USER_PASSWORD}
docs:
image: phpdoc/phpdoc
volumes:
- .:/data
command: -d ./src/Client -t ./docs --title "EDM SDK" --visibility "public"