@@ -4,19 +4,19 @@ services:
44 hostname : stellio
55 labels :
66 org.fiware : ' tutorial'
7- image : stellio/stellio-api-gateway:${STELLIO_DOCKER_TAG}
8- platform : linux/amd64
7+ image : quay.io/fiware/stellio-api-gateway:${STELLIO_DOCKER_TAG}
98 environment :
109 - SPRING_PROFILES_ACTIVE=docker
1110 ports :
12- - ${EXPOSED_PORT:-1026}:${STELLIO_PORT:-9090}
11+ - " ${EXPOSED_PORT}:${STELLIO_PORT}"
12+ networks :
13+ - default
1314
1415 search-service :
1516 container_name : stellio-search-service
1617 labels :
1718 org.fiware : ' tutorial'
18- image : stellio/stellio-search-service:${STELLIO_DOCKER_TAG}
19- platform : linux/amd64
19+ image : quay.io/fiware/stellio-search-service:${STELLIO_DOCKER_TAG}
2020 environment :
2121 - SPRING_PROFILES_ACTIVE=docker
2222 - SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_search
@@ -30,10 +30,24 @@ services:
3030 - APPLICATION_TENANTS_1_NAME=openiot
3131 - APPLICATION_TENANTS_1_ISSUER=https://sso.stellio.io/auth/realms/openiot
3232 - APPLICATION_TENANTS_1_DBSCHEMA=openiot
33+ - APPLICATION_TENANTS_2_NAME=farmer
34+ - APPLICATION_TENANTS_2_ISSUER=https://sso.stellio.io/auth/realms/farmer
35+ - APPLICATION_TENANTS_2_DBSCHEMA=farmer
36+ - APPLICATION_TENANTS_3_NAME=vet
37+ - APPLICATION_TENANTS_3_ISSUER=https://sso.stellio.io/auth/realms/vet
38+ - APPLICATION_TENANTS_3_DBSCHEMA=vet
39+ - APPLICATION_TENANTS_4_NAME=contractor
40+ - APPLICATION_TENANTS_4_ISSUER=https://sso.stellio.io/auth/realms/contractor
41+ - APPLICATION_TENANTS_4_DBSCHEMA=contractor
42+ - APPLICATION_TENANTS_5_NAME=weather
43+ - APPLICATION_TENANTS_5_ISSUER=https://sso.stellio.io/auth/realms/weather
44+ - APPLICATION_TENANTS_5_DBSCHEMA=weather
3345 - APPLICATION_PAGINATION_LIMIT-DEFAULT=30
3446 - APPLICATION_PAGINATION_LIMIT-MAX=1000
3547 ports :
3648 - 8083:8083
49+ networks :
50+ - default
3751 restart : always
3852 depends_on :
3953 postgres :
@@ -45,8 +59,7 @@ services:
4559 container_name : stellio-subscription-service
4660 labels :
4761 org.fiware : ' tutorial'
48- image : stellio/stellio-subscription-service:${STELLIO_DOCKER_TAG}
49- platform : linux/amd64
62+ image : quay.io/fiware/stellio-subscription-service:${STELLIO_DOCKER_TAG}
5063 environment :
5164 - SPRING_PROFILES_ACTIVE=docker
5265 - SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_subscription
@@ -60,10 +73,24 @@ services:
6073 - APPLICATION_TENANTS_1_NAME=openiot
6174 - APPLICATION_TENANTS_1_ISSUER=https://sso.stellio.io/auth/realms/openiot
6275 - APPLICATION_TENANTS_1_DBSCHEMA=openiot
76+ - APPLICATION_TENANTS_2_NAME=farmer
77+ - APPLICATION_TENANTS_2_ISSUER=https://sso.stellio.io/auth/realms/farmer
78+ - APPLICATION_TENANTS_2_DBSCHEMA=farmer
79+ - APPLICATION_TENANTS_3_NAME=vet
80+ - APPLICATION_TENANTS_3_ISSUER=https://sso.stellio.io/auth/realms/vet
81+ - APPLICATION_TENANTS_3_DBSCHEMA=vet
82+ - APPLICATION_TENANTS_4_NAME=contractor
83+ - APPLICATION_TENANTS_4_ISSUER=https://sso.stellio.io/auth/realms/contractor
84+ - APPLICATION_TENANTS_4_DBSCHEMA=contractor
85+ - APPLICATION_TENANTS_5_NAME=weather
86+ - APPLICATION_TENANTS_5_ISSUER=https://sso.stellio.io/auth/realms/weather
87+ - APPLICATION_TENANTS_5_DBSCHEMA=weather
6388 - APPLICATION_PAGINATION_LIMIT-DEFAULT=30
6489 - APPLICATION_PAGINATION_LIMIT-MAX=1000
6590 ports :
6691 - 8085:8084
92+ networks :
93+ - default
6794 restart : always
6895 depends_on :
6996 postgres :
@@ -74,10 +101,12 @@ services:
74101 kafka :
75102 labels :
76103 org.fiware : ' tutorial'
77- image : confluentinc/cp-kafka:7.3.1
104+ image : confluentinc/cp-kafka:7.6.0
78105 container_name : kafka
79106 ports :
80107 - 29092:29092
108+ networks :
109+ - default
81110 restart : always
82111 environment :
83112 KAFKA_BROKER_ID : 1
@@ -91,17 +120,14 @@ services:
91120 KAFKA_INTER_BROKER_LISTENER_NAME : ' PLAINTEXT'
92121 KAFKA_CONTROLLER_LISTENER_NAMES : ' CONTROLLER'
93122 KAFKA_LOG4J_ROOT_LOGLEVEL : INFO
94- volumes :
95- - ./stellio/kafka/update_run.sh:/tmp/update_run.sh
96- command : " bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \" ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'"
123+ CLUSTER_ID : NjExODZhMWVjMzllMTFlZm
97124
98125
99126 # Databases
100127 postgres :
101128 labels :
102129 org.fiware : ' tutorial'
103130 image : stellio/stellio-timescale-postgis:${STELLIO_TIMESCALE_POSTGIS}
104-
105131 hostname : postgres
106132 container_name : db-postgres
107133 environment :
@@ -112,6 +138,8 @@ services:
112138 - ACCEPT_TIMESCALE_TUNING=TRUE
113139 ports :
114140 - 5432:5432
141+ networks :
142+ - default
115143 volumes :
116144 - postgres-db:/var/lib/postgresql
117145 healthcheck :
@@ -121,7 +149,6 @@ services:
121149 retries : 20
122150 start_period : 10s
123151
124-
125152 # IoT-Agent is configured for the JSON Protocol and connects to the Stellio Broker
126153 iot-agent :
127154 environment :
0 commit comments