-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
86 lines (74 loc) · 1.18 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
ssl:
build: ./docker/ssl
links:
- varnish
volumes_from:
- appdata
- logs
environment:
DNSDOCK_ALIAS: m2.docker
varnish:
build: ./docker/varnish
links:
- web
volumes_from:
- appdata
web:
build: ./docker/nginx
links:
- php
- db
- redis
volumes_from:
- appdata
- logs
appdata:
image: tianon/true
volumes:
- ".:/var/www/html"
php:
build: ./docker/php
links:
- db
- redis
- mail
- logs
- selenium
volumes_from:
- appdata
db:
image: mariadb:latest
volumes:
- "/var/lib/mysql"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=magento2
- MYSQL_USER=magento2
- MYSQL_PASSWORD=magento2
redis:
image: redis
expose:
- "6379"
logs:
image: tianon/true
volumes:
- /var/log/nginx
- /var/lib/elasticsearch
elk:
image: willdurand/elk
volumes:
- ./docker/elk/logstash:/etc/logstash
- ./docker/elk/logstash/patterns:/opt/logstash/patterns
volumes_from:
- appdata
- logs
mail:
image: helder/mailcatcher
selenium:
image: selenium/standalone-firefox:2.53.1
expose:
- "4444"
node:
build: ./docker/node
volumes_from:
- appdata