forked from EmakinaFR/docker-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (49 loc) · 885 Bytes
/
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
version: "3"
services:
web:
build: web
env_file: docker-env
ports:
- "8080:80"
- "10081:10081"
- "10082:10082"
- "10083:10083"
volumes:
- "./docker/web:/tmp/vhosts"
- "~/www:/var/www/html"
tty: true
percona:
image: percona:5.6
env_file: docker-env
ports:
- "3306:3306"
volumes:
- "./docker/percona:/etc/mysql/conf.d"
- "percona:/var/lib/mysql"
tty: true
mongo:
image: mongo:latest
env_file: docker-env
ports:
- "27017:27017"
volumes:
- "mongo:/data/db"
tty: true
redis:
image: redis:latest
env_file: docker-env
ports:
- "6379:6379"
tty: true
varnish:
build: varnish
env_file: docker-env
depends_on:
- web
ports:
- "80:8080"
- "6082:6082"
tty: true
volumes:
percona: {}
mongo: {}