Skip to content

Commit 5d2c699

Browse files
committed
Switch to quay.io
1 parent 514f37a commit 5d2c699

6 files changed

Lines changed: 19 additions & 19 deletions

File tree

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ COMPOSE_PROJECT_NAME=fiware
33

44
# Orion variables
55
ORION_PORT=1026
6-
ORION_VERSION=3.7.0
6+
ORION_VERSION=3.8.1
77

88
# MongoDB variables
99
MONGO_DB_PORT=27017
1010
MONGO_DB_VERSION=4.4
1111

1212
# IoT Agent Ultralight Variables
13-
ULTRALIGHT_VERSION=1.24.0-distroless
13+
ULTRALIGHT_VERSION=2.0.0-distroless
1414
IOTA_NORTH_PORT=4041
1515
IOTA_SOUTH_PORT=7896
1616

FIWARE Querying Time Series Data (Mongo-DB).postman_collection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"response": []
136136
}
137137
],
138-
"description": "In the *minimal* configuration, **STH-Comet** is used to persisting historic context data and also used to make time-based queries.\nAll operations take place on the same port `8666`. The MongoDB instance listening on the standard\n`27017` port is used to hold data the historic context data as well as holding data related to the **Orion Context Broker** and the **IoT Agent**.\nThe overall architecture can be seen below:\n\n![](https://fiware.github.io/tutorials.Short-Term-History/img/sth-comet.png)\n\n## Database Server Configuration\n\n```yaml\n mongo-db:\n image: mongo:3.6\n hostname: mongo-db\n container_name: db-mongo\n ports:\n - \"27017:27017\"\n networks:\n - default\n\n```\n\n## STH-Comet Configuration \n\n```yaml\n sth-comet:\n image: fiware/sth-comet\n hostname: sth-comet\n container_name: fiware-sth-comet\n depends_on:\n - mongo-db\n networks:\n - default\n ports:\n - \"8666:8666\"\n environment:\n - STH_HOST=0.0.0.0\n - STH_PORT=8666\n - DB_PREFIX=sth_\n - DB_URI=mongo-db:27017\n - LOGOPS_LEVEL=DEBUG\n```\n\nThe `sth-comet` container is listening on one port: \n\n* The Operations for port for STH-Comet - `8666` is where the service will be listening for notifications from the Orion context broker as well\n as time based query requests from cUrl or Postman\n\nThe `sth-comet` container is driven by environment variables as shown:\n\n| Key |Value |Description|\n|------------|-----------------|-----------|\n|STH_HOST |`0.0.0.0` | The address where STH-Comet is hosted - within this container it means all IPv4 addresses on the local machine |\n|STH_PORT |`8666` | Operations Port that STH-Comet listens on, it is also used when subscribing to context data changes |\n|DB_PREFIX |`sth_` | The prefix added to each database entity if none is provided |\n|DB_URI |`mongo-db:27017` | The Mongo-DB server which STH-Comet will contact to persist historical context data |\n|LOGOPS_LEVEL|`DEBUG` | The logging level for STH-Comet |\n\n\n## *minimal* configuration - Start up\n\nTo start the system using the *minimal* configuration using **STH-Comet** only, run the following command:\n\n```console\n./services sth-comet\n``` \n\n",
138+
"description": "In the *minimal* configuration, **STH-Comet** is used to persisting historic context data and also used to make time-based queries.\nAll operations take place on the same port `8666`. The MongoDB instance listening on the standard\n`27017` port is used to hold data the historic context data as well as holding data related to the **Orion Context Broker** and the **IoT Agent**.\nThe overall architecture can be seen below:\n\n![](https://fiware.github.io/tutorials.Short-Term-History/img/sth-comet.png)\n\n## Database Server Configuration\n\n```yaml\n mongo-db:\n image: mongo:3.6\n hostname: mongo-db\n container_name: db-mongo\n ports:\n - \"27017:27017\"\n networks:\n - default\n\n```\n\n## STH-Comet Configuration \n\n```yaml\n sth-comet:\n image: quay.io/fiware/sth-comet\n hostname: sth-comet\n container_name: fiware-sth-comet\n depends_on:\n - mongo-db\n networks:\n - default\n ports:\n - \"8666:8666\"\n environment:\n - STH_HOST=0.0.0.0\n - STH_PORT=8666\n - DB_PREFIX=sth_\n - DB_URI=mongo-db:27017\n - LOGOPS_LEVEL=DEBUG\n```\n\nThe `sth-comet` container is listening on one port: \n\n* The Operations for port for STH-Comet - `8666` is where the service will be listening for notifications from the Orion context broker as well\n as time based query requests from cUrl or Postman\n\nThe `sth-comet` container is driven by environment variables as shown:\n\n| Key |Value |Description|\n|------------|-----------------|-----------|\n|STH_HOST |`0.0.0.0` | The address where STH-Comet is hosted - within this container it means all IPv4 addresses on the local machine |\n|STH_PORT |`8666` | Operations Port that STH-Comet listens on, it is also used when subscribing to context data changes |\n|DB_PREFIX |`sth_` | The prefix added to each database entity if none is provided |\n|DB_URI |`mongo-db:27017` | The Mongo-DB server which STH-Comet will contact to persist historical context data |\n|LOGOPS_LEVEL|`DEBUG` | The logging level for STH-Comet |\n\n\n## *minimal* configuration - Start up\n\nTo start the system using the *minimal* configuration using **STH-Comet** only, run the following command:\n\n```console\n./services sth-comet\n``` \n\n",
139139
"event": [
140140
{
141141
"listen": "prerequest",
@@ -308,7 +308,7 @@
308308
"response": []
309309
}
310310
],
311-
"description": "The *formal* configuration is uses **Cygnus** to persist historic context data into a MongoDB database in the same manner as had been presented in the\n[previous tutorial](https://github.com/Fiware/tutorials.Historic-Context). The existing MongoDB instance (listening on the standard\n`27017` port) is used to hold data related to the **Orion Context Broker**, the **IoT Agent** and the historic\ncontext data persisted by **Cygnus**. **STH-Comet** is also attached to the same database to read data from it. The overall architecture can be seen below:\n\n![](https://fiware.github.io/tutorials.Short-Term-History/img/cygnus-sth-comet.png)\n\n## Database Server Configuration\n\n```yaml\n mongo-db:\n image: mongo:3.6\n hostname: mongo-db\n container_name: db-mongo\n ports:\n - \"27017:27017\"\n networks:\n - default\n\n```\n\n## STH-Comet Configuration \n\n```yaml\n sth-comet:\n image: fiware/sth-comet\n hostname: sth-comet\n container_name: fiware-sth-comet\n depends_on:\n - mongo-db\n networks:\n - default\n ports:\n - \"8666:8666\"\n environment:\n - STH_HOST=0.0.0.0\n - STH_PORT=8666\n - DB_PREFIX=sth_\n - DB_URI=mongo-db:27017\n - LOGOPS_LEVEL=DEBUG\n```\n\n## Cygnus Configuration \n\n```yaml\n cygnus:\n image: fiware/cygnus-ngsi:latest\n hostname: cygnus\n container_name: fiware-cygnus\n depends_on:\n - mongo-db\n networks:\n - default\n expose:\n - \"5080\"\n ports:\n - \"5050:5050\"\n - \"5080:5080\"\n environment:\n - \"CYGNUS_MONGO_HOSTS=mongo-db:27017\"\n - \"CYGNUS_LOG_LEVEL=DEBUG\"\n - \"CYGNUS_SERVICE_PORT=5050\"\n - \"CYGNUS_API_PORT=5080\"\n```\n\nThe `sth-comet` container is listening on one port: \n\n* The Operations for port for STH-Comet - `8666` is where the service will be listening for time based query requests from cUrl or Postman\n\nThe `sth-comet` container is driven by environment variables as shown:\n\n| Key |Value |Description|\n|------------|-----------------|-----------|\n|STH_HOST |`0.0.0.0` | The address where STH-Comet is hosted - within this container it means all IPv4 addresses on the local machine |\n|STH_PORT |`8666` | Operations Port that STH-Comet listens on |\n|DB_PREFIX |`sth_` | The prefix added to each database entity if none is provided |\n|DB_URI |`mongo-db:27017` | The Mongo-DB server which STH-Comet will contact to persist historical context data |\n|LOGOPS_LEVEL|`DEBUG` | The logging level for STH-Comet |\n\nThe `cygnus` container is listening on two ports: \n\n* The Subscription Port for Cygnus - `5050` is where the service will be listening for notifications from the Orion context broker\n* The Management Port for Cygnus - `5080` is exposed purely for tutorial access - so that cUrl or Postman can make provisioning commands\n without being part of the same network.\n\n\nThe `cygnus` container is driven by environment variables as shown:\n\n| Key |Value |Description|\n|-------------------------------|--------------|-----------|\n|CYGNUS_MONGO_HOSTS |`mongo-db:27017` | Comma separated list of Mongo-DB servers which Cygnus will contact to persist historical context data |\n|CYGNUS_LOG_LEVEL |`DEBUG` | The logging level for Cygnus |\n|CYGNUS_SERVICE_PORT |`5050` | Notification Port that Cygnus listens when subscribing to context data changes|\n|CYGNUS_API_PORT |`5080` | Port that Cygnus listens on for operational reasons |\n\n\n\n## *formal* configuration - Start up\n\nTo start the system using the *formal* configuration using **Cygnus** and **STH-Comet**, run the following command:\n\n```console\n./services cygnus\n``` \n",
311+
"description": "The *formal* configuration is uses **Cygnus** to persist historic context data into a MongoDB database in the same manner as had been presented in the\n[previous tutorial](https://github.com/Fiware/tutorials.Historic-Context). The existing MongoDB instance (listening on the standard\n`27017` port) is used to hold data related to the **Orion Context Broker**, the **IoT Agent** and the historic\ncontext data persisted by **Cygnus**. **STH-Comet** is also attached to the same database to read data from it. The overall architecture can be seen below:\n\n![](https://fiware.github.io/tutorials.Short-Term-History/img/cygnus-sth-comet.png)\n\n## Database Server Configuration\n\n```yaml\n mongo-db:\n image: mongo:3.6\n hostname: mongo-db\n container_name: db-mongo\n ports:\n - \"27017:27017\"\n networks:\n - default\n\n```\n\n## STH-Comet Configuration \n\n```yaml\n sth-comet:\n image: quay.io/fiware/sth-comet\n hostname: sth-comet\n container_name: fiware-sth-comet\n depends_on:\n - mongo-db\n networks:\n - default\n ports:\n - \"8666:8666\"\n environment:\n - STH_HOST=0.0.0.0\n - STH_PORT=8666\n - DB_PREFIX=sth_\n - DB_URI=mongo-db:27017\n - LOGOPS_LEVEL=DEBUG\n```\n\n## Cygnus Configuration \n\n```yaml\n cygnus:\n image: quay.io/fiware/cygnus-ngsi:latest\n hostname: cygnus\n container_name: fiware-cygnus\n depends_on:\n - mongo-db\n networks:\n - default\n expose:\n - \"5080\"\n ports:\n - \"5050:5050\"\n - \"5080:5080\"\n environment:\n - \"CYGNUS_MONGO_HOSTS=mongo-db:27017\"\n - \"CYGNUS_LOG_LEVEL=DEBUG\"\n - \"CYGNUS_SERVICE_PORT=5050\"\n - \"CYGNUS_API_PORT=5080\"\n```\n\nThe `sth-comet` container is listening on one port: \n\n* The Operations for port for STH-Comet - `8666` is where the service will be listening for time based query requests from cUrl or Postman\n\nThe `sth-comet` container is driven by environment variables as shown:\n\n| Key |Value |Description|\n|------------|-----------------|-----------|\n|STH_HOST |`0.0.0.0` | The address where STH-Comet is hosted - within this container it means all IPv4 addresses on the local machine |\n|STH_PORT |`8666` | Operations Port that STH-Comet listens on |\n|DB_PREFIX |`sth_` | The prefix added to each database entity if none is provided |\n|DB_URI |`mongo-db:27017` | The Mongo-DB server which STH-Comet will contact to persist historical context data |\n|LOGOPS_LEVEL|`DEBUG` | The logging level for STH-Comet |\n\nThe `cygnus` container is listening on two ports: \n\n* The Subscription Port for Cygnus - `5050` is where the service will be listening for notifications from the Orion context broker\n* The Management Port for Cygnus - `5080` is exposed purely for tutorial access - so that cUrl or Postman can make provisioning commands\n without being part of the same network.\n\n\nThe `cygnus` container is driven by environment variables as shown:\n\n| Key |Value |Description|\n|-------------------------------|--------------|-----------|\n|CYGNUS_MONGO_HOSTS |`mongo-db:27017` | Comma separated list of Mongo-DB servers which Cygnus will contact to persist historical context data |\n|CYGNUS_LOG_LEVEL |`DEBUG` | The logging level for Cygnus |\n|CYGNUS_SERVICE_PORT |`5050` | Notification Port that Cygnus listens when subscribing to context data changes|\n|CYGNUS_API_PORT |`5080` | Port that Cygnus listens on for operational reasons |\n\n\n\n## *formal* configuration - Start up\n\nTo start the system using the *formal* configuration using **Cygnus** and **STH-Comet**, run the following command:\n\n```console\n./services cygnus\n``` \n",
312312
"event": [
313313
{
314314
"listen": "prerequest",

README.ja.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ mongo-db:
341341

342342
```yaml
343343
sth-comet:
344-
image: fiware/sth-comet
344+
image: quay.io/fiware/sth-comet
345345
hostname: sth-comet
346346
container_name: fiware-sth-comet
347347
depends_on:
@@ -1187,7 +1187,7 @@ mongo-db:
11871187

11881188
```yaml
11891189
sth-comet:
1190-
image: fiware/sth-comet
1190+
image: quay.io/fiware/sth-comet
11911191
hostname: sth-comet
11921192
container_name: fiware-sth-comet
11931193
depends_on:
@@ -1210,7 +1210,7 @@ sth-comet:
12101210

12111211
```yaml
12121212
cygnus:
1213-
image: fiware/cygnus-ngsi:latest
1213+
image: quay.io/fiware/cygnus-ngsi:latest
12141214
hostname: cygnus
12151215
container_name: fiware-cygnus
12161216
depends_on:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ mongo-db:
274274

275275
```yaml
276276
sth-comet:
277-
image: fiware/sth-comet
277+
image: quay.io/fiware/sth-comet
278278
hostname: sth-comet
279279
container_name: fiware-sth-comet
280280
depends_on:
@@ -1045,7 +1045,7 @@ mongo-db:
10451045

10461046
```yaml
10471047
sth-comet:
1048-
image: fiware/sth-comet
1048+
image: quay.io/fiware/sth-comet
10491049
hostname: sth-comet
10501050
container_name: fiware-sth-comet
10511051
depends_on:
@@ -1066,7 +1066,7 @@ sth-comet:
10661066

10671067
```yaml
10681068
cygnus:
1069-
image: fiware/cygnus-ngsi:latest
1069+
image: quay.io/fiware/cygnus-ngsi:latest
10701070
hostname: cygnus
10711071
container_name: fiware-cygnus
10721072
depends_on:

docker-compose/cygnus-sth-comet.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
orion:
55
labels:
66
org.fiware: 'tutorial'
7-
image: fiware/orion:${ORION_VERSION}
7+
image: quay.io/fiware/orion:${ORION_VERSION}
88
hostname: orion
99
container_name: fiware-orion
1010
depends_on:
@@ -22,7 +22,7 @@ services:
2222

2323
# Cygnus is configured to persist to STH-Comet
2424
cygnus:
25-
image: fiware/cygnus-ngsi:${CYGNUS_VERSION}
25+
image: quay.io/fiware/cygnus-ngsi:${CYGNUS_VERSION}
2626
hostname: cygnus
2727
container_name: fiware-cygnus
2828
depends_on:
@@ -46,7 +46,7 @@ services:
4646

4747
# STH-Comet is persisting Short Term History to Mongo-DB
4848
sth-comet:
49-
image: fiware/sth-comet:${STH_COMET_VERSION}
49+
image: quay.io/fiware/sth-comet:${STH_COMET_VERSION}
5050
hostname: sth-comet
5151
container_name: fiware-sth-comet
5252
depends_on:
@@ -69,7 +69,7 @@ services:
6969
iot-agent:
7070
labels:
7171
org.fiware: 'tutorial'
72-
image: fiware/iotagent-ul:${ULTRALIGHT_VERSION}
72+
image: quay.io/fiware/iotagent-ul:${ULTRALIGHT_VERSION}
7373
hostname: iot-agent
7474
container_name: fiware-iot-agent
7575
depends_on:
@@ -101,7 +101,7 @@ services:
101101
tutorial:
102102
labels:
103103
org.fiware: 'tutorial'
104-
image: fiware/tutorials.context-provider
104+
image: quay.io/fiware/tutorials.context-provider
105105
hostname: iot-sensors
106106
container_name: fiware-tutorial
107107
depends_on:

docker-compose/sth-comet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
orion:
2323
labels:
2424
org.fiware: 'tutorial'
25-
image: fiware/orion:${ORION_VERSION}
25+
image: quay.io/fiware/orion:${ORION_VERSION}
2626
hostname: orion
2727
container_name: fiware-orion
2828
depends_on:
@@ -40,7 +40,7 @@ services:
4040

4141
# STH-Comet is persisting Short Term History to Mongo-DB
4242
sth-comet:
43-
image: fiware/sth-comet:${STH_COMET_VERSION}
43+
image: quay.io/fiware/sth-comet:${STH_COMET_VERSION}
4444
hostname: sth-comet
4545
container_name: fiware-sth-comet
4646
depends_on:
@@ -62,7 +62,7 @@ services:
6262
iot-agent:
6363
labels:
6464
org.fiware: 'tutorial'
65-
image: fiware/iotagent-ul:${ULTRALIGHT_VERSION}
65+
image: quay.io/fiware/iotagent-ul:${ULTRALIGHT_VERSION}
6666
hostname: iot-agent
6767
container_name: fiware-iot-agent
6868
depends_on:
@@ -94,7 +94,7 @@ services:
9494
tutorial:
9595
labels:
9696
org.fiware: 'tutorial'
97-
image: fiware/tutorials.context-provider
97+
image: quay.io/fiware/tutorials.context-provider
9898
hostname: iot-sensors
9999
container_name: fiware-tutorial
100100
depends_on:

0 commit comments

Comments
 (0)