You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
566 B
19 lines
566 B
version: '2' |
|
services: |
|
|
|
php: |
|
build: |
|
context: .. |
|
args: |
|
DOCKER_YII2_PHP_IMAGE: ${DOCKER_YII2_PHP_IMAGE} |
|
working_dir: /project |
|
volumes: |
|
- ../tests/data/config-docker.php:/project/tests/data/config.php |
|
# Enable for debugging, enabling tests might be slow for file access (data) on host-volume |
|
#- ../tests:/project/tests |
|
# - ../framework:/project/framework |
|
# Tmpfs volume (experimental, asset tests may fail) |
|
#tmpfs: |
|
# - /project/tests/runtime |
|
environment: |
|
- TEST_RUNTIME_PATH=/tmp/runtime
|
|
|