forked from scobal/seyren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (37 loc) · 881 Bytes
/
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
mongodb:
image: mongo:3.0.1
command: mongod --smallfiles --quiet --logpath=/dev/null
ports:
- 27017:27017
graphite:
image: sitespeedio/graphite
ports:
- 8081:80
- 2003:2003
collectd:
image: listhub/collectd-write-graphite
links:
- graphite
environment:
HOST_NAME: sample
GRAPHITE_HOST: graphite
GRAPHITE_PORT: 2003
INSTANCE_ID: seyren
web:
build: seyren-web
links:
- mongodb
- graphite
command: /bin/bash -c "/usr/share/maven/bin/mvn clean install -am -pl seyren-web -Dmaven.test.skip && /usr/share/maven/bin/mvn tomcat7:run-war -pl seyren-web"
environment:
MONGO_URL: mongodb://mongodb:27017/seyren
GRAPHITE_URL: http://graphite
GRAPHITE_USERNAME: guest
GRAPHITE_PASSWORD: guest
SEYREN_LOG_PATH: /root
volumes:
- ./:/data
- ~/.m2:/root/.m2
ports:
- 8080:8080
- 8000:8000