-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (51 loc) · 1.42 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
version: '2'
services:
web:
hostname: magento2
domainname: aplazame
image: magento/magento2devbox-web:latest
volumes:
- "~/.composer:/home/magento2/.composer"
- "./src:/aplazame"
- magento:/var/www/magento2
environment:
- MAGENTO_ADMIN_USER=admin
- MAGENTO_ADMIN_PASSWORD=admin123
- MAGENTO_BACKEND_PATH=admin
- MAGENTO_CRON_RUN=0
- MAGENTO_DI_COMPILE=0
- MAGENTO_DOWNLOAD_SOURCES_CLOUD=0
- MAGENTO_DOWNLOAD_SOURCES_COMPOSER=1
- MAGENTO_EDITION=ce
- MAGENTO_GRUNT_COMPILE=0
- MAGENTO_SAMPLE_DATA_INSTALL=1
- MAGENTO_STATIC_CONTENTS_DEPLOY=0
- MAGENTO_USE_SOURCES_IN_HOST=0
- MAGENTO_VERSION=
- USE_ELASTICSEARCH=0
- USE_RABBITMQ=0
- USE_REDIS_CACHE=0
- USE_REDIS_FULL_PAGE_CACHE=0
- USE_REDIS_SESSIONS=0
- USE_UNISON_SYNC=0
- USE_VARNISH=0
- XDEBUG_CONFIG
env_file:
- ./.env.dist
- ./.env
extra_hosts:
- "magento2.aplazame:127.0.0.1"
ports:
- "1748:80"
db:
image: mysql:5.6
env_file:
- ./.env.dist
- ./.env
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=magento2
ports:
- "3306:3306"
volumes:
magento: