diff --git a/.env b/.env index 4d1ccc2..03a0e20 100644 --- a/.env +++ b/.env @@ -4,7 +4,7 @@ EXPOSED_PORT=1026 # Orion variables ORION_PORT=1027 -ORION_VERSION=3.8.1 +ORION_VERSION=4.0.0 # Orion variables ORION_LD_PORT=1026 diff --git a/README.md b/README.md index a3935fd..77c351f 100644 --- a/README.md +++ b/README.md @@ -256,7 +256,7 @@ orion: - default ports: - "1027:1026" # localhost:1026 - command: -dbhost mongo-db2 -logLevel DEBUG + command: -dbURI mongodb://mongo-db2 -logLevel DEBUG healthcheck: test: curl --fail -s http://orion2:1026/version || exit 1 ``` diff --git a/docker-compose/common.yml b/docker-compose/common.yml index 7e1350e..e0f4185 100644 --- a/docker-compose/common.yml +++ b/docker-compose/common.yml @@ -169,7 +169,7 @@ services: - "${ORION_PORT}" ports: - "${ORION_PORT}:1026" # localhost:1026 - command: -dbhost mongo-db2 -logLevel DEBUG + command: -dbURI mongodb://mongo-db2 -logLevel DEBUG healthcheck: test: curl --fail -s http://orion2:1026/version || exit 1 interval: 5s diff --git a/docker-compose/orion-ld.yml b/docker-compose/orion-ld.yml index 18b1a8a..017b6d7 100644 --- a/docker-compose/orion-ld.yml +++ b/docker-compose/orion-ld.yml @@ -34,7 +34,7 @@ services: command: -dbhost mongo-db -logLevel DEBUG -forwarding -experimental -wip entityMaps healthcheck: test: curl --fail -s http://orion:${ORION_LD_PORT}/version || exit 1 - interval: 60s + interval: 5s # Tutorial connects to the Orion-LD Broker tutorial: