-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (49 loc) · 1.17 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
---
version: '3.8'
networks:
jenkins:
services:
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5
# environment:
# - http.cors.enabled=true
# - http.cors.allow-origin=".*"
volumes:
- ./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:Z
ports:
- "9200:9200"
networks:
- jenkins
kibana:
container_name: kibana
build:
context: .
dockerfile: docker/Dockerfile-kibana
# image: docker.elastic.co/kibana/kibana:7.17.5
ports:
- "25601:5601"
networks:
- jenkins
volumes:
- ./config/kibana.yml:/usr/share/kibana/config/kibana.yml:Z
jenkins:
container_name: jenkins
build:
context: .
dockerfile: docker/Dockerfile-jenkins
# image: jenkins/jenkins:lts
ports:
- 18080:8080
- 50000:50000
volumes:
# #- /home/${myname}/jenkins_compose/jenkins_configuration:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
networks:
- jenkins
elasticvue:
image: cars10/elasticvue
ports:
- 8080:8080
networks:
- jenkins