-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (62 loc) · 1.43 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
version: '3.9'
services:
nginx:
image: nginx:1.16.1-alpine
ports:
- ${HTTP_PORT}:80
- ${HTTPS_PORT}:443
volumes:
- ./config/default.conf:/etc/nginx/conf.d/default.conf
- ./ssl/localhost.cert:/etc/ssl/localhost.cert
- ./ssl/localhost.key:/etc/ssl/localhost.key
links:
- vtiger
vtiger:
image: javanile/vtiger:7.1.0
environment:
- VT_DEBUG=true
- VT_SITE_URL=https://localhost/
- MYSQL_HOST=mysql
- MYSQL_DATABASE=${DB_NAME}
- MYSQL_ROOT_PASSWORD=${DB_ROOT}
ports:
- ${APP_PORT}:80
volumes:
- ./:/app
- ./volumes/logs:/var/www/html/logs
- ./volumes/storage:/var/www/html/storage
- ./config_override.php:/var/www/html/config_override.php
links:
- mysql
mysql:
image: mysql:5.5
environment:
- MYSQL_DATABASE=${DB_NAME}
- MYSQL_ROOT_PASSWORD=${DB_ROOT}
ports:
- ${DB_PORT}:3306
volumes:
- db:/var/lib/mysql:rw
adminer:
image: javanile/adminer
environment:
- MYSQL_DATABASE=${DB_NAME}
- MYSQL_ROOT_PASSWORD=${DB_ROOT}
ports:
- ${ADMINER_PORT}:8080
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
- PMA_HOST=mysql
- MYSQL_DATABASE=${DB_NAME}
- MYSQL_ROOT_PASSWORD=${DB_ROOT}
ports:
- ${PHPMYADMIN_PORT}:80
networks:
default:
driver: bridge
volumes:
db:
driver: local
data:
driver: local