1616#
1717# see: https://github.com/FIWARE/helm-charts/
1818#
19- version : " 3.8"
20-
19+ version : ' 3.9'
2120services :
2221 zookeeper :
22+ labels :
23+ org.fiware : ' tutorial'
2324 image : zookeeper
2425 hostname : zookeeper
2526 container_name : zookeeper
2627 networks :
2728 - default
2829 ports :
2930 - " 2181"
31+ logging :
32+ driver : none
3033 kafka :
31- image : wurstmeister/kafka
34+ labels :
35+ org.fiware : ' tutorial'
36+ image : bitnami/kafka
3237 hostname : kafka
3338 container_name : kafka
3439 networks :
@@ -39,13 +44,19 @@ services:
3944 KAFKA_ADVERTISED_HOST_NAME : kafka
4045 KAFKA_ZOOKEEPER_CONNECT : zookeeper:2181
4146 KAFKA_ADVERTISED_PORT : 9092
47+ KAFKA_LOG_RETENTION_MS : 10000
48+ KAFKA_LOG_RETENTION_CHECK_INTERVAL_MS : 5000
49+ ALLOW_PLAINTEXT_LISTENER : " yes"
4250 volumes :
4351 - /var/run/docker.sock:/var/run/docker.sock
4452 depends_on :
4553 - zookeeper
46-
54+ logging :
55+ driver : none
4756 postgres :
48- image : mdillon/postgis
57+ labels :
58+ org.fiware : ' tutorial'
59+ image : postgis/postgis
4960 hostname : postgres
5061 container_name : db-postgres
5162 networks :
@@ -56,34 +67,33 @@ services:
5667 POSTGRES_USER : ngb
5768 POSTGRES_PASSWORD : ngb
5869 POSTGRES_DB : ngb
59-
70+ logging :
71+ driver : none
6072 scorpio :
61- image : scorpiobroker/scorpio:scorpio-aaio_${SCORPIO_VERSION}
73+ labels :
74+ org.fiware : ' tutorial'
75+ image : scorpiobroker/scorpio:scorpio-aaio-no-eureka_${SCORPIO_VERSION}
6276 hostname : scorpio
6377 container_name : fiware-scorpio
6478 networks :
6579 - default
6680 ports :
6781 - " ${SCORPIO_PORT}:9090"
6882 depends_on :
69- - kafka
7083 - postgres
71- # healthcheck:
72- # test: curl --fail -s http://scorpio:${SCORPIO_PORT}/scorpio/v1/info/ || exit 1
73- deploy :
74- resources :
75- limits :
76- cpus : ' 0.8'
77- memory : 640M
78- reservations :
79- cpus : ' 0.6'
80- memory : 480M
84+ - kafka
8185
82- # Tutorial connects to the Scorpio Broker
86+ # Tutorial acts as a series of dummy IoT Sensors over HTTP and connects to the Scorpio Broker
8387 tutorial :
8488 environment :
8589 - IOTA_DEFAULT_RESOURCE=/iot/d
8690 - DUMMY_DEVICES_PORT=${TUTORIAL_DUMMY_DEVICE_PORT} # Port used by the dummy IOT devices to receive commands
8791 - DUMMY_DEVICES_TRANSPORT=HTTP # Default transport used by dummy Io devices
8892 - DUMMY_DEVICES_PAYLOAD=ULTRALIGHT
8993 - CONTEXT_BROKER=http://scorpio:${SCORPIO_PORT}/ngsi-ld/v1 # URL of the context broker to update context
94+
95+
96+ networks :
97+ default :
98+ labels :
99+ org.fiware : ' tutorial'
0 commit comments