forked from tkotosz/BehatMagento2Extension
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (51 loc) · 1.83 KB
/
docker-compose.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
50
51
52
53
54
version: '3.9'
services:
php:
build:
context: .
dockerfile: ./docker/php/Dockerfile
args:
XDEBUG_VERSION: xdebug
PHP_VERSION: php:cli-alpine3.18
MAGENTO_PUBLIC_KEY: ${MAGENTO_PUBLIC_KEY}
MAGENTO_SECRET_KEY: ${MAGENTO_SECRET_KEY}
volumes:
- ./src:/var/www/html/vendor/seec/behat-magento2-extension/src
- ./features:/var/www/html/vendor/seec/behat-magento2-extension/features
- ./tests:/var/www/html/vendor/seec/behat-magento2-extension/tests
- ./behat.yml.dist:/var/www/html/vendor/seec/behat-magento2-extension/behat.yml.dist
- ./ecs.php:/var/www/html/vendor/seec/behat-magento2-extension/ecs.php
- ./phpstan.neon:/var/www/html/vendor/seec/behat-magento2-extension/phpstan.neon
- ./composer.json:/var/www/html/vendor/seec/behat-magento2-extension/composer.json
- ./composer.lock:/var/www/html/vendor/seec/behat-magento2-extension/composer.lock
- ./vendor:/var/www/html/vendor/seec/behat-magento2-extension/vendor
- ./magento:/var/www/html/vendor/magento-ext
environment:
PHP_IDE_CONFIG: serverName=magento2-behat-extension
extra_hosts:
- "host.docker.internal:host-gateway"
env_file:
- .env
mysql:
image: mariadb:10.6
environment:
MYSQL_USER: magento
MYSQL_PASSWORD: magento
MYSQL_DATABASE: magento
MYSQL_ROOT_PASSWORD: magento
volumes:
- ./docker/data/database/:/var/lib/mysql/
ports:
- "9906:3306"
opensearch:
image: opensearchproject/opensearch:2.7.0
environment:
discovery.type: single-node
cluster.name: opensearch-cluster
node.name: opensearch-node
bootstrap.memory_lock: true
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
DISABLE_INSTALL_DEMO_CONFIG: true
DISABLE_SECURITY_PLUGIN: true
ports:
- "8892:9200"