@@ -4,19 +4,19 @@ services:
4
4
hostname : stellio
5
5
labels :
6
6
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}
9
8
environment :
10
9
- SPRING_PROFILES_ACTIVE=docker
11
10
ports :
12
- - ${EXPOSED_PORT:-1026}:${STELLIO_PORT:-9090}
11
+ - " ${EXPOSED_PORT}:${STELLIO_PORT}"
12
+ networks :
13
+ - default
13
14
14
15
search-service :
15
16
container_name : stellio-search-service
16
17
labels :
17
18
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}
20
20
environment :
21
21
- SPRING_PROFILES_ACTIVE=docker
22
22
- SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_search
@@ -30,10 +30,24 @@ services:
30
30
- APPLICATION_TENANTS_1_NAME=openiot
31
31
- APPLICATION_TENANTS_1_ISSUER=https://sso.stellio.io/auth/realms/openiot
32
32
- 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
33
45
- APPLICATION_PAGINATION_LIMIT-DEFAULT=30
34
46
- APPLICATION_PAGINATION_LIMIT-MAX=1000
35
47
ports :
36
48
- 8083:8083
49
+ networks :
50
+ - default
37
51
restart : always
38
52
depends_on :
39
53
postgres :
@@ -45,8 +59,7 @@ services:
45
59
container_name : stellio-subscription-service
46
60
labels :
47
61
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}
50
63
environment :
51
64
- SPRING_PROFILES_ACTIVE=docker
52
65
- SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_subscription
@@ -60,10 +73,24 @@ services:
60
73
- APPLICATION_TENANTS_1_NAME=openiot
61
74
- APPLICATION_TENANTS_1_ISSUER=https://sso.stellio.io/auth/realms/openiot
62
75
- 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
63
88
- APPLICATION_PAGINATION_LIMIT-DEFAULT=30
64
89
- APPLICATION_PAGINATION_LIMIT-MAX=1000
65
90
ports :
66
91
- 8085:8084
92
+ networks :
93
+ - default
67
94
restart : always
68
95
depends_on :
69
96
postgres :
@@ -74,10 +101,12 @@ services:
74
101
kafka :
75
102
labels :
76
103
org.fiware : ' tutorial'
77
- image : confluentinc/cp-kafka:7.3.1
104
+ image : confluentinc/cp-kafka:7.6.0
78
105
container_name : kafka
79
106
ports :
80
107
- 29092:29092
108
+ networks :
109
+ - default
81
110
restart : always
82
111
environment :
83
112
KAFKA_BROKER_ID : 1
@@ -91,17 +120,14 @@ services:
91
120
KAFKA_INTER_BROKER_LISTENER_NAME : ' PLAINTEXT'
92
121
KAFKA_CONTROLLER_LISTENER_NAMES : ' CONTROLLER'
93
122
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
97
124
98
125
99
126
# Databases
100
127
postgres :
101
128
labels :
102
129
org.fiware : ' tutorial'
103
130
image : stellio/stellio-timescale-postgis:${STELLIO_TIMESCALE_POSTGIS}
104
-
105
131
hostname : postgres
106
132
container_name : db-postgres
107
133
environment :
@@ -112,6 +138,8 @@ services:
112
138
- ACCEPT_TIMESCALE_TUNING=TRUE
113
139
ports :
114
140
- 5432:5432
141
+ networks :
142
+ - default
115
143
volumes :
116
144
- postgres-db:/var/lib/postgresql
117
145
healthcheck :
@@ -121,7 +149,6 @@ services:
121
149
retries : 20
122
150
start_period : 10s
123
151
124
-
125
152
# IoT-Agent is configured for the JSON Protocol and connects to the Stellio Broker
126
153
iot-agent :
127
154
environment :
0 commit comments