-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
76 lines (71 loc) · 1.66 KB
/
docker-compose.yaml
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
version: '3.7'
services:
magento2:
container_name: magento2
image: sendsmaily/magneto2
build:
context: ./
ports:
- '8080:8000'
environment:
- MYSQL_HOST=db
- MYSQL_DATABASE=magento2
- MYSQL_USER=root
- MYSQL_PASSWORD=root
- MAGENTO_SAMPLEDATA=1
- MAGENTO_LANGUAGE=et_EE
- MAGENTO_TIMEZONE=Europe/Tallinn
- MAGENTO_DEFAULT_CURRENCY=EUR
- MAGENTO_URL=http://localhost:8080/ # Map also port for CSS/JS refs.
- MAGENTO_BACKEND_FRONTNAME=admin
- MAGENTO_ADMIN_USERNAME=admin
- MAGENTO_ADMIN_PASSWORD=smailydev1
volumes:
- data:/var/www/html
- ./:/var/www/html/app/code/Smaily/SmailyForMagento
depends_on:
- db
- elastic
db:
container_name: magento2_db
image: mysql:5.7
environment:
- MYSQL_DATABASE=magento2
- MYSQL_ROOT_PASSWORD=root
volumes:
- db-data:/var/lib/mysql
ulimits:
nproc: 65535
nofile:
soft: 26677
hard: 46677
elastic:
container_name: magento2_elastic
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.3
ports:
- '9200:9200'
- '9300:9300'
environment:
- discovery.type=single-node
volumes:
- elastic-data:/usr/share/elasticsearch/data
phpmyadmin:
container_name: magento2_phpmyadmin
image: phpmyadmin/phpmyadmin
restart: always
ports:
- '8888:80'
environment:
PMA_HOST: db
PMA_USER: root
PMA_PASSWORD: root
depends_on:
- db
volumes:
data:
name: docker_magento2-data
db-data:
name: docker_magento2-db-data
elastic-data:
name: docker_magento2-elastic-data