forked from meanbee/magento-meanbee-pwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (74 loc) · 1.52 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
version: "2"
services:
web:
image: httpd:2.4
hostname: pwa-magento.docker
ports:
- 80
volumes_from:
- appdata
volumes:
- ./etc/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
environment:
- VIRTUAL_HOST=pwa-magento.docker
- VIRTUAL_PORT=80
- HTTPS_METHOD=noredirect
- CERT_NAME=default
links:
- php
php:
image: meanbee/magento:5.6-fpm
hostname: php-pwa-magento.docker
ports:
- 9000
volumes_from:
- appdata
environment:
- MAGE_ROOT_DIR=/var/www/html
- ENABLE_SENDMAIL=true
- XDEBUG_CONFIG
links:
- db
cron:
image: meanbee/magento:5.6-cli
hostname: cron-pwa-magento.docker
command: /run-cron.sh
volumes_from:
- appdata
environment:
- MAGE_ROOT_DIR=/var/www/html
- ENABLE_SENDMAIL=true
links:
- db
tools:
image: meanbee/magento-tools
volumes_from:
- appdata
volumes:
- ~/.composer:/root/.composer
environment:
- MAGE_ROOT_DIR=/var/www/html
- COMPOSER_HOME=/root/.composer
- COMPOSER_ALLOW_SUPERUSER=1
links:
- db
db:
image: meanbee/magento-mysql
ports:
- 3306
volumes_from:
- dbdata
environment:
- MYSQL_ROOT_PASSWORD=toor
- MYSQL_USER=magento
- MYSQL_PASSWORD=magento
- MYSQL_DATABASE=magento
appdata:
image: tianon/true
volumes:
- /var/www/html
- ./:/src
dbdata:
image: tianon/true
volumes:
- /var/lib/mysql