Skip to content

Commit

Permalink
adding the new vars (MQ_PORT, MQ_USER and MQ_PASS) to README, docker-…
Browse files Browse the repository at this point in the history
…compose, env and github workflows
  • Loading branch information
Italo Valcy committed Mar 19, 2024
1 parent adb3adc commit 49de34a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
SDXLC_VERSION: '1.0.0'
SDXLC_NAME: 'test-lc'
MQ_HOST: 'localhost'
MQ_PORT: '5672'
MQ_USER: 'guest'
MQ_PASS: 'guest'
MQ_NAME: 'hello'
MQ_EXCHANGE: ''
SUB_QUEUE: 'test-queue'
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ $ docker run -it --rm --name rabbitmq \
rabbitmq:latest
```

Then in `env` and `docker-compose.yml` files, change `MQ_HOST` host to
the corresponding IP address or hostname of the RabbitMQ server
Then in `env` and `docker-compose.yml` files, change the following vars:

- `MQ_HOST` host to the corresponding IP address or hostname of the RabbitMQ server
- `MQ_PORT` to the corresponding port where the server will listen (default 5672)
- `MQ_USER` to the corresponding username to authenticate (default guest)
- `MQ_PASS` to the corresponding password to authenticate (default guest)


## Running SDX Local Controller with Docker Compose
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ services:
- MQ_NAME=hello
- MQ_HOST=aw-sdx-monitor.renci.org
- MQ_PORT=5672
- MQ_USER=guest
- MQ_PASS=guest
- DB_NAME=test-db
- DB_CONFIG_TABLE_NAME=sdx-config-test-1
- DOMAIN_CONTROLLER_URL=http://192.168.201.205:8088/SDX-LC/1.0.0/provision
Expand Down
3 changes: 3 additions & 0 deletions env
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export SDXLC_VERSION='1.0.0'
export SDXLC_NAME='lc2'
export MQ_NAME='hello'
export MQ_HOST='aw-sdx-monitor.renci.org'
export MQ_PORT=5672
export MQ_USER='guest'
export MQ_PASS='guest'
export MQ_EXCHANGE=''
export DB_NAME='test-db'
export DB_CONFIG_TABLE_NAME='test-1'

0 comments on commit 49de34a

Please sign in to comment.