forked from andreaskoch/dockerized-magento
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
67 lines (67 loc) · 1.58 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
installer:
build: docker-images/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: admin@example.com
ENCRYPTIONKEY: 731aea833710535779fe8c7c49bc6c4d
volumes_from:
- nginx
links:
- "cache:rediscache"
- "sessions:redissession"
- "fullpagecache:redisfullpagecache"
- "solr:solr"
- "mysql:mysql"
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:
build: docker-images/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:
build: docker-images/solr
cache:
image: redis:latest
fullpagecache:
image: redis:latest
sessions:
image: redis:latest