-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (60 loc) · 1.02 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
version: '2.0'
services:
db:
container_name: db
image: mysql:5.6
volumes:
- ./dbdata:/var/lib/mysql
env_file:
- env
web:
container_name: web
build:
context: .
dockerfile: Magento_Dockerfile
depends_on:
- db
ports:
- "8080:80"
links:
- db
- cache
- recommender
env_file:
- env
volumes:
- ./app/pub:/var/www/html/pub
adminer:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
environment:
- PMA_ARBITRARY=1
env_file:
- env
restart: always
ports:
- 8888:80
links:
- db
cache:
image: redis
container_name: redis
ports:
- 6379:80
varnish:
build:
context: ./varnish/
container_name: varnish
ports:
- "80:80"
- "6082:6082"
links:
- web
recommender:
build:
context: ./tomcat/
container_name: recommender
#ports:
#- "3000:8080"
volumes:
- "./tomcat/data:/usr/local/tomcat/data"