-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-tasks.yml
46 lines (44 loc) · 1.03 KB
/
docker-compose-tasks.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
43
44
45
46
version: "2.4"
services:
composer:
image: docker_ide_php
cap_drop: [all]
working_dir: /var/www
entrypoint: composer-218.phar
command: install --no-cache --no-progress -o -a --ignore-platform-reqs
userns_mode: "host"
volumes:
- ./service/:/var/www
- ./bin:/usr/local/sbin
psalm:
image: docker_ide_php
cap_drop: [all]
working_dir: /var/www
entrypoint: psalm-4100.phar --no-cache
volumes:
- ./service/:/var/www
- ./bin:/usr/local/sbin
phpcsfixer:
image: docker_ide_php
cap_drop: [all]
working_dir: /var/www
entrypoint: phpcsfixer-3210.phar fix --verbose --dry-run --diff --config phpcsfixer.conf
volumes:
- ./service/:/var/www
- ./bin:/usr/local/sbin
phpunit:
image: docker_ide_php
cap_drop: [all]
working_dir: /var/www
entrypoint: phpunit-9510.phar
volumes:
- ./service/:/var/www
- ./bin:/usr/local/sbin
networks:
- backend
links:
- nginx
- php
networks:
backend:
driver: bridge