-
Notifications
You must be signed in to change notification settings - Fork 0
/
scorpio.yml
58 lines (51 loc) · 1.09 KB
/
scorpio.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
version: "3.5"
volumes:
mongodb: ~
services:
################
# Applications #
################
# Context Broker
scorpio:
image: scorpiobroker/all-in-one-runner:java-kafka-latest
ports:
- "1026:9090"
environment:
DBHOST: postgres
BUSHOST: kafka
depends_on:
- postgres
- kafka
# Kafka Management
zookeeper:
image: zookeeper
ports:
- "2181"
# Kafka for Scorpio
kafka:
image: bitnami/kafka:3.5.1-debian-11-r6
ports:
- "9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_PORT: 9092
KAFKA_LOG_RETENTION_MS: 10000
KAFKA_LOG_RETENTION_CHECK_INTERVAL_MS: 5000
ALLOW_PLAINTEXT_LISTENER: "yes"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
#############
# Databases #
#############
# Database for Scorpio
postgres:
image: postgis/postgis
ports:
- "5432"
environment:
POSTGRES_USER: ngb
POSTGRES_PASSWORD: ngb
POSTGRES_DB: ngb