forked from ScorpioBroker/ScorpioBroker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-aaio-dev.yml
38 lines (36 loc) · 988 Bytes
/
docker-compose-aaio-dev.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
version: '3'
services:
zookeeper:
image: zookeeper
ports:
- "2181"
kafka:
image: wurstmeister/kafka
hostname: kafka
ports:
- "9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_PORT: 9092
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
postgres:
image: mdillon/postgis
ports:
- "5432"
environment:
POSTGRES_USER: ngb
POSTGRES_PASSWORD: ngb
POSTGRES_DB: ngb
scorpio:
image: scorpiobroker/scorpio:scorpio-aaio_0.9.2-SNAPSHOT
ports:
- "9090:9090"
depends_on:
- kafka
- postgres
environment:
spring_args: --broker.parent.location.url=http://192.168.42.202:9090/ngsi-ld/v1/csourceRegistrations/ --broker.geoCoverage="{\\\"type\\\":\\\"Polygon\\\",\\\"coordinates\\\": [[[100.0, 0.0],[101.0, 0.0],[101.0, 1.0],[100.0, 1.0],[100.0, 0.0] ] ]}"