This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
scorpio-compose.yml
81 lines (81 loc) · 1.77 KB
/
scorpio-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
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
version: '3'
services:
context-catalog:
image: halverneus/static-file-server
hostname: context-catalog
container_name: context-catalog
ports:
- "8082:8080"
volumes:
- ./context-catalog:/web
kafka:
image: wurstmeister/kafka
hostname: kafka
container_name: kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_PORT: 9092
KAFKA_LOG_DIRS: "/tmp/kafka-logs"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
nifi:
build:
context: ./nifi-python
dockerfile: Dockerfile
hostname: nifi
container_name: nifi
ports:
- "8080:8080"
volumes:
- ./results:/home/nifi/results
node-exporter:
image: prom/node-exporter
hostname: node-exporter
container_name: node-exporter
ports:
- "9100:9100"
depends_on:
- prometheus
postgres:
image: mdillon/postgis
hostname: postgres
container_name: postgres
ports:
- "5432"
environment:
POSTGRES_USER: ngb
POSTGRES_PASSWORD: ngb
POSTGRES_DB: ngb
logging:
driver: none
prometheus:
image: prom/prometheus
hostname: prometheus
container_name: prometheus
ports:
- "9099:9090"
volumes:
- ./prometheus/config/prometheus.yml:/etc/prometheus/prometheus.yml
scorpio:
image: scorpiobroker/scorpio:scorpio-aaio_FIWARE_7.9.2
hostname: scorpio
container_name: scorpio
ports:
- "9090:9090"
depends_on:
- kafka
- postgres
zookeeper:
image: zookeeper
hostname: zookeeper
container_name: zookeeper
ports:
- "2181"
logging:
driver: none
working_dir: /