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.
22 lines
673 B
22 lines
673 B
version: '2' |
|
services: |
|
|
|
php: |
|
build: .. |
|
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 |
|
|
|
networks: |
|
default: |
|
ipam: |
|
driver: default |
|
config: |
|
# prevent overlapping/duplicated networks, since docker assigns /16 subnets by default ranging from 10.x over 172.x to 192.168.x |
|
- subnet: 10.100.1${TUPLE_C}.1/24 |