-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (32 loc) · 1010 Bytes
/
docker-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
version: '3'
services:
#
# Required to run project
#
php:
image: meritoo/php:8.0
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-php
entrypoint: php
command: -S 0.0.0.0:9999
environment:
PHP_DATE_TIMEZONE: ${PHP_DATE_TIMEZONE}
volumes:
- .:/var/www/application:cached
composer:
image: meritoo/php:8.0
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-composer
entrypoint: php -d memory_limit=-1 /usr/local/bin/composer
volumes:
- .:/var/www/application:cached
#
# Required to run PHPUnit's tests
#
phpunit:
image: meritoo/php:8.0
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-phpunit
entrypoint: ./vendor/bin/simple-phpunit
command: --version
volumes:
- .:/var/www/application:cached
environment:
XDEBUG_MODE: coverage