-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
41 lines (40 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
---
version: '3'
services:
web:
image: fsiopenpl/docker-php-apache:alpine-8.1
container_name: data-web
ports:
- 80:80
- 443:443
environment:
PHP_IDE_CONFIG: 'serverName=localhost'
XDEBUG_CONFIG: 'idekey=PHPSTORM discover_client_host=false client_host=host.docker.internal'
XDEBUG_MODE: debug
HOST_UID: 1000
HOST_GID: 1000
ELASTICSEARCH_URL: 'http://elasticsearch:9200'
volumes:
- .:/var/www/application
- ~/.composer:/var/www/.composer
extra_hosts:
- "host.docker.internal:host-gateway"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
container_name: data-elasticsearch
environment:
- cluster.name=data-elastica
- xpack.security.enabled=false
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- 9200:9200
- 9300:9300
kibana:
image: docker.elastic.co/kibana/kibana:7.10.1
container_name: data-kibana
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://data-elasticsearch:9200
ELASTICSEARCH_HOSTS: '["http://data-elasticsearch:9200"]'