-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
51 lines (48 loc) · 1.08 KB
/
docker-compose.override.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
version: '3.4'
services:
# elasticsearch.api:
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - ASPNETCORE_HTTP_PORTS=8080
# - ASPNETCORE_HTTPS_PORTS=8081
# ports:
# - "8080"
# - "8081"
# volumes:
# - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
# - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
elasticsearch:
expose:
- 9200
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
- ELASTIC_USERNAME=elastic
- ELASTIC_PASSWORD=DkIedPPSCb
networks:
- es-net
ports:
- 9200:9200
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
kibana:
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
expose:
- 5601
networks:
- es-net
depends_on:
- elasticsearch
ports:
- 5601:5601
volumes:
- kibana-data:/usr/share/kibana/data
networks:
es-net:
driver: bridge
volumes:
elasticsearch-data:
driver: local
kibana-data:
driver: local