Sylius/docker-compose.test.yml
Łukasz Chruściel b836b397bc
refactor #13952 [docker]Run tests in test_cached environment (Ferror)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master          |
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | none                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

40899dd972 [docker]Run tests in test_cached environment
2022-05-12 15:57:24 +02:00

34 lines
931 B
YAML

services:
ci:
image: sylius/standard:1.11-traditional
entrypoint: ["make", "ci"]
environment:
APP_ENV: "test_cached"
APP_DEBUG: 0
DATABASE_URL: "mysql://root:mysql@mysql/sylius_%kernel.environment%?charset=utf8mb4"
PHP_DATE_TIMEZONE: "Europe/Warsaw"
MESSENGER_TRANSPORT_DSN: "sync://"
volumes:
- ./:/app:delegated
- ./.docker/test/php.ini:/etc/php/8.0/fpm/php.ini:delegated
- ./.docker/test/php.ini:/etc/php/8.0/cli/php.ini:delegated
ports:
- 80:80
depends_on:
- mysql
networks:
- sylius
mysql:
image: mysql:5.7
platform: linux/amd64
environment:
MYSQL_ROOT_PASSWORD: mysql
ports:
- 3306:3306
networks:
- sylius
networks:
sylius:
driver: bridge