forked from sheerockoff/bitrix-elastic-indexer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 912 Bytes
/
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
version: "2.1"
services:
bitrix:
image: webdevops/php-dev:${PHP-7.1}
volumes:
- ./:/app/
working_dir: /app/
depends_on:
- mysql
- elasticsearch
ports:
- 80:80
environment:
php.short_open_tag: 1
php.mbstring.func_oveload: 2
php.display_errors: 1
MYSQL_HOST: mysql
MYSQL_DATABASE: bitrix
MYSQL_USER: bitrix
MYSQL_PASSWORD: bitrix
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
mysql:
image: mysql:5.7
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: bitrix
MYSQL_USER: bitrix
MYSQL_PASSWORD: bitrix
elasticsearch:
image: elasticsearch:7.2.0
environment:
discovery.type: single-node
kibana:
image: kibana:7.2.0
depends_on:
- elasticsearch
ports:
- 5601:5601
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200