-
Notifications
You must be signed in to change notification settings - Fork 170
/
docker-compose.test.yml
48 lines (48 loc) · 1.24 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
version: '3'
services:
codecept:
image: eccube/php7-ext-codeception
depends_on:
- chrome
- mellivora-test
- db-test
volumes:
- .:/project
chrome:
image: 'selenium/standalone-chrome-debug'
ports:
- '5900'
- '4444'
dns: 8.8.4.4
environment:
- no_proxy=localhost
mellivora-test:
image: mellivora-test
build:
context: .
dockerfile: Dockerfile
environment:
MELLIVORA_CONFIG_DB_ENGINE: mysql
MELLIVORA_CONFIG_DB_HOST: db-test
MELLIVORA_CONFIG_DB_PORT: 3306
MELLIVORA_CONFIG_DB_NAME: mellivora
MELLIVORA_CONFIG_DB_USER: meldbuser
MELLIVORA_CONFIG_DB_PASSWORD: password
MELLIVORA_CONFIG_SITE_URL: http://mellivora-test/
MELLIVORA_CONFIG_SITE_URL_STATIC_RESOURCES: http://mellivora-test/
volumes:
- .:/var/www/mellivora
- composerdependencies:/var/www/mellivora/include/thirdparty/composer
links:
- db-test
db-test:
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_DATABASE: mellivora
MYSQL_USER: meldbuser
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
volumes:
composerdependencies: