forked from dnunez24/docker-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (72 loc) · 1.44 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
web:
image: dnunez24/magento-nginx
links:
- app
ports:
- "80:80"
app:
image: dnunez24/magento-php
volumes_from:
- appdata
links:
- db
- search
environment:
MAGENTO_HOST: magento.local
MAGENTO_ADMIN_FIRSTNAME: Admin
MAGENTO_ADMIN_LASTNAME: User
MAGENTO_ADMIN_USERNAME: admin
MAGENTO_ADMIN_PASSWORD: p@ssw0rD
MAGENTO_ADMIN_EMAIL: [email protected]
MAGENTO_LOCALE: en_US
MAGENTO_DEFAULT_CURRENCY: USD
MAGENTO_TIMEZONE: America/Los_Angeles
db:
image: dnunez24/magento-percona
ports:
- "3306:3306"
volumes_from:
- dbdata
environment:
MYSQL_ROOT_PASSWORD: mage
MYSQL_USER: mage
MYSQL_PASSWORD: mage
MYSQL_DATABASE: magento
search:
image: dnunez24/magento-solr
volumes_from:
- searchdata
appdata:
image: dnunez24/magento-php
volumes:
- .:/srv/magento
command: /bin/echo "Magento app data"
dbdata:
image: dnunez24/magento-percona
volumes:
- /var/lib/mysql
command: /bin/echo "Magento MySQL data"
searchdata:
image: dnunez24/magento-solr
volumes:
- /srv/solr/solr/data
command: /bin/echo "Magento Solr data"
setup:
image: dnunez24/magento-tools
volumes_from:
- appdata
links:
- app
- db
- search
command: /usr/local/bin/install-magento
magerun:
image: dnunez24/magento-tools
volumes_from:
- appdata
links:
- app
- db
- search
entrypoint: ["n98-magerun", "--skip-root-check"]
command: list