Skip to content

Commit

Permalink
Add missing docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmeldrum committed Feb 1, 2024
1 parent a45315c commit 3a06fbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ To run a scan and export operation using the CLI from docker:
* add all password environment variables to the environment of the docker container (example BROKER_PASSWORD)

The commands are as follows:
`CMD_LINE_ARGS="scan abcdefg123 /tmp/scan.zip --springdoc.api-docs.enabled=false --spring.main.web-application-type=none"`
`docker run -d -v /path/to/file/AcmeRetailStandalone.yml:/config/ema.yml -v /path/to/scandir:/tmp --env CMD_LINE_ARGS=${CMD_LINE_ARGS} --env BROKER_PASSWORD=${BROKER_PASSWORD} --name event-management-agent event-management-agent:latest`
```CMD_LINE_ARGS="scan abcdefg123 /tmp/scan.zip --springdoc.api-docs.enabled=false --spring.main.web-application-type=none"
docker run -d -v /path/to/file/AcmeRetailStandalone.yml:/config/ema.yml -v /path/to/scandir:/tmp --env CMD_LINE_ARGS=${CMD_LINE_ARGS} --env BROKER_PASSWORD=${BROKER_PASSWORD} --name event-management-agent event-management-agent:latest```
## Running a Discovery File Upload Using the CLI
Expand Down Expand Up @@ -241,8 +241,8 @@ To run a scan file upload using the CLI from docker:
* provide the Event Management Agent Docker image (e.g. solace/event-management-agent:latest)
The commands are as follows:
`CMD_LINE_ARGS="upload /tmp/scan.zip --springdoc.api-docs.enabled=false --spring.main.web-application-type=none"`
`docker run -d -v /path/to/file/AcmeRetail.yml:/config/ema.yml -v /path/to/scan.zip:/tmp --env CMD_LINE_ARGS=${CMD_LINE_ARGS} --name event-management-agent event-management-agent:latest`
```CMD_LINE_ARGS="upload /tmp/scan.zip --springdoc.api-docs.enabled=false --spring.main.web-application-type=none"
docker run -d -v /path/to/file/AcmeRetail.yml:/config/ema.yml -v /path/to/scan.zip:/tmp --env CMD_LINE_ARGS=${CMD_LINE_ARGS} --name event-management-agent event-management-agent:latest```
# Manually Uploading Scans to Event Portal
Expand Down

0 comments on commit 3a06fbf

Please sign in to comment.