forked from bitrix-toolkit/bitrix-elastic-indexer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 1.13 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
version: "2.1"
services:
bitrix:
image: webdevops/php-dev:${PHP-7.4}
volumes:
- ./:/app/
working_dir: /app/
depends_on:
- mysql
- elasticsearch
environment:
php.short_open_tag: 1
php.mbstring.func_oveload: 2
php.display_errors: 1
php.max_input_vars: 10000
php.date.timezone: "Europe/Moscow"
DEBUG: 1
MYSQL_HOST: mysql
MYSQL_DATABASE: bitrix
MYSQL_USER: bitrix
MYSQL_PASSWORD: bitrix
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
mysql:
image: mysql:5.7
command: >-
--default-time-zone=Europe/Moscow
--character-set-server=utf8
--collation-server=utf8_unicode_ci
--skip-innodb-strict-mode
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:
- ${KIBANA_PORT-5601}:5601
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200