-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
72 lines (63 loc) · 1.38 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '3'
services:
vtiger:
image: javanile/vtiger-dev:7.1.0
environment:
- VT_DEBUG=false
- MYSQL_HOST=mysql
- MYSQL_DATABASE=vtiger
- MYSQL_ROOT_PASSWORD=secret
ports:
- "48080:80"
volumes:
- vtiger:/var/lib/vtiger
- ./:/app
- ./volumes/logs:/var/lib/vtiger/logs
- ./volumes/storage:/var/lib/vtiger/storage
links:
- mysql
- adminer
#- xdebug
mysql:
image: mysql:5.5
environment:
- MYSQL_DATABASE=vtiger
- MYSQL_ROOT_PASSWORD=secret
volumes:
- mysql:/var/lib/mysql:rw
adminer:
image: javanile/adminer
environment:
- MYSQL_DATABASE=vtiger
- MYSQL_ROOT_PASSWORD=secret
ports:
- "48081:8080"
composer:
image: composer:2
volumes:
- ./:/app
box:
image: ajardin/humbug-box
volumes:
- ./:/app
phpunit:
image: phpunit/phpunit:6.5.3
environment:
- VT_ENDPOINT=http://vtiger
- VT_USERNAME=admin
- VT_CLIENT_LOG_FILE=/app/tests/logs/vtiger-client.log
- VT_CLIENT_PROFILING_FILE=/app/tests/logs/vtiger-client.json
- MYSQL_HOST=mysql
- MYSQL_DATABASE=vtiger
- MYSQL_ROOT_PASSWORD=secret
volumes:
- ./:/app
links:
- vtiger
#xdebug:
# image: javanile/xdebug
# cap_add: [ 'NET_ADMIN', 'NET_RAW' ]
# restart: on-failure
volumes:
mysql:
vtiger: