Skip to content

Commit c487e0e

Browse files
committed
Update Orion and MongoDB
1 parent f5b401d commit c487e0e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.env

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

44
# Orion variables
55
ORION_PORT=1026
6-
ORION_VERSION=3.10.1
6+
ORION_VERSION=3.11.0
77

88
# MongoDB variables
99
MONGO_DB_PORT=27017
10-
MONGO_DB_VERSION=4.4
10+
MONGO_DB_VERSION=6.0
1111

1212
# Tutorial variables
1313
TUTORIAL_APP_PORT=3000

docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,11 @@ services:
137137
volumes:
138138
- mongo-db:/data
139139
healthcheck:
140-
test: |
141-
host=`hostname --ip-address || echo '127.0.0.1'`;
142-
mongo --quiet $host/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)' && echo 0 || echo 1
140+
test: ["CMD","mongosh", "--eval", "db.adminCommand('ping')"]
143141
interval: 5s
142+
timeout: 5s
143+
retries: 3
144+
start_period: 5s
144145

145146

146147
mysql-db:

0 commit comments

Comments
 (0)