forked from andreaskoch/dockerized-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (84 loc) · 2.23 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
81
82
83
84
85
installer:
image: andreaskoch/dockerized-magento-installer
environment:
DOMAIN: dockerized-magento.local
MAGENTO_ROOT: /var/www/html/web
MYSQL_HOST: mysql
MYSQL_DATABASE: magento
MYSQL_USER: root
MYSQL_PASSWORD: pw
ADMIN_USERNAME: admin
ADMIN_FIRSTNAME: Admin
ADMIN_LASTNAME: Inistrator
ADMIN_PASSWORD: password123
ADMIN_FRONTNAME: admin
ADMIN_EMAIL: [email protected]
ENCRYPTIONKEY: 731aea833710535779fe8c7c49bc6c4d
volumes_from:
- nginx
volumes:
- ./config/installer/php/php.ini:/usr/local/etc/php/php.ini
- ./config/installer/magerun/n98-magerun.yaml.tmpl:/etc/n98-magerun.yaml.tmpl
- ./config/installer/magento/local.xml.tmpl:/etc/local.xml.tmpl
- ./config/installer/magento/fpc.xml.tmpl:/etc/fpc.xml.tmpl
- ./config/installer/bin/substitute-env-vars.sh:/bin/substitute-env-vars.sh
- ./config/installer/bin/install.sh:/bin/install.sh
links:
- "cache:rediscache"
- "sessions:redissession"
- "fullpagecache:redisfullpagecache"
- "solr:solr"
- "mysql:mysql"
#entrypoint: /bin/install.sh
nginx:
image: nginx:latest
ports:
- "80:80"
- "443:443"
links:
- "php"
volumes:
- ./logs/nginx:/var/log/nginx
- ./config/ssl/cert.pem:/etc/nginx/ssl/cert.pem
- ./config/ssl/cert.key:/etc/nginx/ssl/cert.key
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./config/nginx/sites-enabled/default.conf:/etc/nginx/conf.d/default.conf
- ./config/nginx/includes:/etc/nginx/includes
- ./config/nginx/custom-locations:/etc/nginx/custom-locations
volumes_from:
- php
php:
image: andreaskoch/dockerized-magento-php
links:
- "cache:rediscache"
- "sessions:redissession"
- "fullpagecache:redisfullpagecache"
- "solr:solr"
- "mysql:mysql"
volumes:
- .:/var/www/html
mysql:
image: mysql:5.5
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: pw
volumes:
- ./data/mysql:/var/lib/mysql
solr:
image: andreaskoch/dockerized-magento-solr
cache:
image: redis:latest
fullpagecache:
image: redis:latest
sessions:
image: redis:latest
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8080:80"
links:
- "mysql:mysql"
environment:
PMA_HOST: "mysql"
PMA_PORT: 3306