Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (26 sloc) 729 Bytes
version: '3'
services:
test-app:
volumes:
- ../../src:/dist/src
- ../../composer.json:/dist/composer.json
- ../..:/app
container_name: cakephp-master-replica-test-app
depends_on:
- database
build:
context: ../..
dockerfile: ./tests/test_app/Dockerfile
environment:
- PHP_IDE_CONFIG=serverName=cakephp-master-replica-test-app
- DB_HOST=cakephp-master-replica-test-app-db
database:
image: mysql:5
container_name: cakephp-master-replica-test-app-db
environment:
MYSQL_DATABASE: test
MYSQL_USER: my_app
MYSQL_PASSWORD: secret
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes:
- ./database/init:/docker-entrypoint-initdb.d
You can’t perform that action at this time.