-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
66 lines (57 loc) · 1.61 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
version: '3'
services:
php:
container_name: datak_php
build:
context: ./Docker/config/php
dockerfile: dev.Dockerfile
volumes:
- ./api:/usr/share/nginx
- ./Docker/config/php/conf.d/custom.ini:/usr/local/etc/php/conf.d/custom.ini
networks:
datak-network:
nginx:
container_name: datak_nginx
image: nginx:latest
ports:
- 8000:80
volumes:
- ./api:/usr/share/nginx
- ./Docker/config/nginx/default.conf:/etc/nginx/conf.d/default.conf
networks:
datak-network:
elasticsearch:
image: elasticsearch:8.0.1
container_name: datak_elasticsearch
volumes:
- elastic_data:/usr/share/elasticsearch/data
ports:
- 9200:9200
environment:
- "discovery.type=single-node"
- ELASTIC_PASSWORD=123456
networks:
datak-network:
# kibana:
# depends_on:
# - elasticsearch
# image: kibana:8.0.1
# container_name: datak_kibana
# volumes:
# - certs:/usr/share/kibana/config/certs
# - kibanadata:/usr/share/kibana/data
# ports:
# - 5601:5601
# environment:
# - SERVERNAME=kibana
# - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
# - ELASTICSEARCH_USERNAME=elastic
# - ELASTICSEARCH_PASSWORD=123456
# networks:
# datak-network:
networks:
datak-network:
volumes:
elastic_data:
certs:
kibanadata: