File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ STELLIO_TIMESCALE_POSTGIS=16-2.16.0-3.3
1717
1818# MongoDB variables
1919MONGO_DB_PORT = 27017
20- MONGO_DB_VERSION = 4.4
20+ MONGO_DB_VERSION = 6.0
2121
2222# Tutorial variables
2323TUTORIAL_APP_PORT = 3000
Original file line number Diff line number Diff line change @@ -48,13 +48,11 @@ services:
4848 - " ${MONGO_DB_PORT}:${MONGO_DB_PORT}" # localhost:27017
4949 networks :
5050 - default
51- command : --nojournal
5251 volumes :
53- - mongo-db:/data
52+ - mongo-db:/data/db
53+ - mongo-config:/data/configdb
5454 healthcheck :
55- test : |
56- host=`hostname --ip-address || echo '127.0.0.1'`;
57- mongo --quiet $host/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)' && echo 0 || echo 1
55+ test : ["CMD","mongosh", "localhost:27017/test", "--quiet"]
5856 interval : 5s
5957
6058
@@ -104,6 +102,7 @@ networks:
104102
105103volumes :
106104 mongo-db : ~
105+ mongo-config : ~
107106 data-models :
108107 driver : local
109108 driver_opts :
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ services:
2121 orion-ld :
2222 labels :
2323 org.fiware : ' tutorial'
24+ platform : linux/amd64
2425 image : quay.io/fiware/orion-ld:${ORION_LD_VERSION}
2526 hostname : orion
2627 container_name : fiware-orion-ld
@@ -29,8 +30,8 @@ services:
2930 networks :
3031 - default
3132 ports :
32- - " ${EXPOSED_PORT}:${ORION_LD_PORT} " # localhost:1026
33- command : -dbhost mongo-db -logLevel DEBUG -forwarding -experimental
33+ - ${EXPOSED_PORT:-1026 }:${ORION_LD_PORT:-1026} # localhost:1026
34+ command : -dbhost mongo-db -logLevel DEBUG -forwarding -mongocOnly
3435 healthcheck :
3536 test : curl --fail -s http://orion:${ORION_LD_PORT}/version || exit 1
3637 interval : 5s
You can’t perform that action at this time.
0 commit comments