forked from markshust/docker-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (42 loc) · 871 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
# Mark Shust's Magento 2 Docker Compose (https://github.com/markoshust/magento2-docker)
# Version 10.0.0
version: "3"
services:
app:
image: markoshust/magento2-nginx:1.13-0
links:
- db
- phpfpm
volumes: &appvolumes
- appdata:/var/www/html
ports:
- 8000:80
networks: &appnetworks
- www
phpfpm:
image: markoshust/magento2-php:7.1-fpm-0
links:
- db
volumes: *appvolumes
networks: *appnetworks
db:
image: percona:5.7
volumes:
- dbdata:/var/lib/mysql
ports:
- 8001:3306
networks: *appnetworks
env_file: env/mysql.env
setup:
image: markoshust/magento2-php:7.1-fpm-0
command: /usr/local/bin/mage-setup
links:
- db
volumes: *appvolumes
networks: *appnetworks
env_file: env/setup.env
volumes:
dbdata:
appdata:
networks:
www: