forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
49 lines (46 loc) · 1.6 KB
/
docker-compose.test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
services:
static:
image: sylius/standard:1.11-traditional
entrypoint: ["make", "static"]
profiles: ["static-analyze"]
environment:
APP_ENV: "test_cached"
PHP_DATE_TIMEZONE: "Europe/Warsaw"
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
networks:
- sylius
behat:
image: sylius/standard:1.11-traditional
entrypoint: ["make", "integration"]
profiles: ["integration"]
environment:
APP_ENV: "test_cached"
APP_DEBUG: 0
DATABASE_URL: "mysql://root:mysql@mysql/sylius_%kernel.environment%"
PHP_DATE_TIMEZONE: "Europe/Warsaw"
SYLIUS_MESSENGER_TRANSPORT_MAIN_DSN: "sync://"
SYLIUS_MESSENGER_TRANSPORT_MAIN_FAILED_DSN: "sync://"
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_DSN: "sync://"
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_FAILED_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
depends_on:
- mysql
networks:
- sylius
mysql:
image: mysql:5.7
profiles: ["integration"]
platform: linux/amd64
environment:
MYSQL_ROOT_PASSWORD: mysql
networks:
- sylius
networks:
sylius:
driver: bridge