-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
46 lines (46 loc) · 1.21 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
services:
jasminegraph:
image: jasminegraph:latest
ports:
- '7777:7777'
- '7778:7778'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:rw'
- './env/databases/metadb:/home/ubuntu/software/jasminegraph/metadb'
- './env/databases/performancedb:/home/ubuntu/software/jasminegraph/performancedb'
- './env/data:/var/tmp/data'
- '/tmp/jasminegraph:/tmp/jasminegraph'
- '/var/tmp/jasminegraph:/var/tmp/jasminegraph'
networks:
- jasminenet
command: --MODE 1 --MASTERIP 172.28.5.1 --WORKERS 2 --WORKERIP 172.28.5.1 --ENABLE_NMON false
depends_on:
- prometheus
prometheus:
image: prom/prometheus:latest
ports:
- 9090:9090
volumes:
- './conf/prometheus.yaml:/etc/prometheus/prometheus.yml'
networks:
jasminenet:
ipv4_address: 172.28.5.2
depends_on:
- pushgateway
pushgateway:
image: prom/pushgateway
ports:
- 9091:9091
networks:
jasminenet:
ipv4_address: 172.28.5.3
networks:
jasminenet:
external: false
name: jasminenet
driver: bridge
ipam:
config:
- subnet: 172.28.5.0/24
ip_range: 172.28.5.0/24
gateway: 172.28.5.1