Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Oct 30, 2024
1 parent d8cf59d commit 3c5ca51
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ phpunit.phar
#codeception
/tests/_output
c3.php

# Docker
docker-compose.override.yml
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
},
"autoload-dev": {
"psr-4": {
"Yiisoft\\ActiveRecord\\": "vendor/yiisoft/active-record/src",
"Yiisoft\\Db\\Mssql\\": "vendor/yiisoft/db-mssql/src",
"Yiisoft\\Db\\Mysql\\": "vendor/yiisoft/db-mysql/src",
"Yiisoft\\Db\\Oracle\\": "vendor/yiisoft/db-oracle/src",
"Yiisoft\\Db\\Pgsql\\": "vendor/yiisoft/db-pgsql/src",
"Yiisoft\\Db\\Sqlite\\": "vendor/yiisoft/db-sqlite/src",
"Yiisoft\\Db\\Tests\\": "tests",
"Yiisoft\\ActiveRecord\\Tests\\": "vendor/yiisoft/active-record/tests",
"Yiisoft\\Db\\Mssql\\Tests\\": "vendor/yiisoft/db-mssql/tests",
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ services:
volumes:
- ./src:/code/src
- ./tests:/code/tests
- ./composer.json:/code/composer.json
- ./phpunit.xml.dist:/code/phpunit.xml.dist
command: tail -F anything
depends_on:
mysql:
condition: service_healthy
postgres:
condition: service_healthy
environment:
YII_MYSQL_DATABASE: yii
YII_MYSQL_HOST: mysql
YII_MYSQL_PORT: 3306
YII_MYSQL_USER: root
YII_MYSQL_PASSWORD: root
mysql:
image: mysql:9
ports:
Expand Down

0 comments on commit 3c5ca51

Please sign in to comment.