Skip to content

Commit

Permalink
refactored docker db-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Jan 18, 2017
1 parent b4479b0 commit 5a791fb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions tests/cubrid/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=yii2testcubrid
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ services:

php:
build:
context: ..
context: ../..
dockerfile: Dockerfile-cubrid
ports:
- 80
#volumes:
# - ../:/project
# - ../..:/project
depends_on:
- cubrid

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@ version: '2'
services:

php:
#image: ppoffice/apache-php-mssql-odbc
build:
context: ../../..
context: ../..
dockerfile: Dockerfile-mssql
# Alternative pre-built image (TODO: evaluate)
#image: ppoffice/apache-php-mssql-odbc
entrypoint: ['bash']
ports:
- 80
# Enable for debugging, Note: File-cache tests may be VERY slow or fail
#volumes:
# - ../../..:/project
depends_on:
- mssql

mssql:
image: microsoft/mssql-server-linux
# Alternative pre-built image (TODO: evaluate)
#image: microsoft/mssql-server-windows
environment:
- ACCEPT_EULA=Y
Expand All @@ -24,5 +27,6 @@ services:
sqlcmd:
image: tsgkadot/mssql-tools
entrypoint: bash
# Mount project for accessing SQL dump (TODO)
volumes:
- ../../..:/project
- ../..:/project

0 comments on commit 5a791fb

Please sign in to comment.