-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (58 loc) · 1.32 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
version: "3.7"
services:
phpfpm:
image: modestcoders/php:7.4-fpm
volumes: &appvolumes
- sockdata:/sock
- ../.composer:/var/www/.composer:delegated
- ../.composer:/var/www/html/var/composer_home:delegated
- ./config/dockergento/nginx/conf/default.conf:/var/www/conf/nginx/default.conf:delegated
environment:
PHP_IDE_CONFIG: serverName=localhost
depends_on:
- db
- elasticsearch
nginx:
image: modestcoders/nginx:1.13
ports:
- 80:8000
volumes: *appvolumes
depends_on:
- phpfpm
db:
image: mysql:5.7
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: magento2experience
MYSQL_USER: admin
MYSQL_PASSWORD: password
volumes:
- dbdata:/var/lib/mysql
phpmyadmin:
depends_on:
- db
image: phpmyadmin/phpmyadmin
restart: always
ports:
- 8080:80
environment:
PMA_HOST: db
node:
image: modestcoders/node-php:node8-php7.4
ports:
- 35729:35729
volumes: *appvolumes
depends_on:
- phpfpm
elasticsearch:
image: modestcoders/elasticsearch:6.5
environment:
- discovery.type=single-node
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
volumes:
dbdata:
sockdata:
elasticsearch_data: