forked from javanile/vtiger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (42 loc) · 824 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (42 loc) · 824 Bytes
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: '2'
services:
vtiger:
build: ${version}
environment:
- VT_DEBUG=false
- VT_INSTALL=${install}
- LOG4PHP_DEBUG=false
- MYSQL_ROOT_PASSWORD=secret
ports:
- 20080:80
- 20443:443
volumes:
- ./:/app
- ./vtiger:/var/lib/vtiger
links:
- mysql
- adminer
adminer:
image: javanile/adminer
environment:
- MYSQL_DATABASE=vtiger
- MYSQL_ROOT_PASSWORD=secret
ports:
- 20081:8080
links:
- mysql
mysql:
image: ${database}
environment:
- MYSQL_ROOT_PASSWORD=secret
volumes:
- mysql:/var/lib/mysql:rw
- ./:/vtiger:rw
script:
image: debian
working_dir: /app
command: bash -c "echo 'prevent default'; exit 0"
volumes:
- ./:/app:rw
volumes:
mysql: