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.
27 lines
631 B
27 lines
631 B
version: "2"
|
|
services:
|
|
phinx:
|
|
build: .
|
|
volumes:
|
|
- .:/src
|
|
links:
|
|
- mysql
|
|
- postgres
|
|
command: bash
|
|
environment:
|
|
- TESTS_PHINX_DB_ADAPTER_MYSQL_HOST=mysql
|
|
- TESTS_PHINX_DB_ADAPTER_POSTGRES_HOST=postgres
|
|
mysql:
|
|
image: mysql:5.6
|
|
environment:
|
|
- MYSQL_DATABASE=phinx_testing
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
|
|
ports:
|
|
- 3306:3306
|
|
|
|
postgres:
|
|
image: postgres:9.2
|
|
environment:
|
|
- POSTGRES_DB=phinx_testing
|
|
ports:
|
|
- 5432:5432
|
|
|