Skip to content

Commit

Permalink
Use -dbURI parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jun 25, 2024
1 parent 7ffd864 commit 521e9f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/orion-ld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 521e9f8

Please sign in to comment.