forked from dyndeploy-test/magento-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (41 loc) · 1021 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
version: '3.0'
services:
web:
image: alexcheng/magento2
ports:
- "80:80"
links:
- db
environment:
- MAGENTO_LANGUAGE=en_GB
- MAGENTO_DEFAULT_CURRENCY=USD
- MAGENTO_URL=$SQUASH_DOMAIN
- MAGENTO_BACKEND_FRONTNAME=admin
- MAGENTO_USE_SECURE=0
- MAGENTO_BASE_URL_SECURE=0
- MAGENTO_USE_SECURE_ADMIN=0
- MAGENTO_ADMIN_FIRSTNAME=Admin
- MAGENTO_ADMIN_LASTNAME=MyStore
- MAGENTO_ADMIN_USERNAME=admin
- MAGENTO_ADMIN_PASSWORD=magento
volumes:
- /dev/mytheme:/var/www/html/app/design/frontend/mytheme/default
db:
image: mysql:5.6.23
volumes:
- db-data:/var/lib/mysql/data
environment:
- MYSQL_HOST=db
- MYSQL_ROOT_PASSWORD=myrootpassword
- MYSQL_USER=magento
- MYSQL_PASSWORD=magento
- MYSQL_DATABASE=magento
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8580:80"
links:
- db
volumes:
db-data: