Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
105 lines (105 loc) · 2.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
105 lines (105 loc) · 2.13 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
version: "3.0"
services:
etcd:
image: quay.io/coreos/etcd:v2.2.0
deploy:
resources:
limits:
cpus: '0.5'
memory: 25M
environment:
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:4001,http://0.0.0.0:2379
ETCD_ADVERTISE_CLIENT_URLS: http://localhost:4001,http://localhost:2379
ETCD_DATA_DIR: /etcd-data
ports:
- "4001:4001"
volumes:
- /puppetci/etcd:/etcd-data
gemserver:
build: ./gemserver
ports:
- "9292:9292"
volumes:
- /puppetci/gemserver:/gemrepo
nexus:
image: sonatype/nexus3
ports:
- "8081:8081"
volumes:
- /puppetci/nexus:/nexus-data
sinatra:
build: ./sinatra
deploy:
resources:
limits:
cpus: '0.5'
memory: 25M
ports:
- "80:8000"
links:
- etcd
- rabbitmq
rabbitmq:
image: rabbitmq:3-management
deploy:
resources:
limits:
cpus: '0.5'
memory: 100M
ports:
- "15672:15672"
- "5671:5671"
- "5672:5672"
- "4369:4369"
- "25672:25672"
jenkins:
build: ./jenkins
deploy:
resources:
limits:
cpus: '0.5'
memory: 800M
ports:
- "8080:8080"
- "50000:50000"
environment:
- JAVA_OPTS="-Djenkins.install.runSetupWizard=false"
# volumes:
# - /puppetci/jenkins:/var/jenkins_home
jjb:
build: ./jjb
deploy:
resources:
limits:
cpus: '0.25'
memory: 25M
links:
- etcd
- rabbitmq
- jenkins
#elasticsearch:
# image: elasticsearch:latest
# command: elasticsearch
# ports:
# - "9200:9200"
# - "9300:9300"
# volume_driver: flocker
# volumes:
# - elasticsearch1:/usr/share/elasticsearch/data
#logstash:
# image: logstash:latest
# command: logstash -f /etc/logstash/conf.d/logstash.conf
# volumes:
# - ./logstash.conf:/etc/logstash/conf.d/logstash.conf
# ports:
# - "5000:5000"
# links:
# - elasticsearch
#kibana:
# image: kibana
# ports:
# - "5601:5601"
# links:
# - elasticsearch
# environment:
# - ELASTICSEARCH_URL=http://elasticsearch:9200