Skip to content

Commit

Permalink
Mentions read-write for docker image for SCC; fixes gh-2113
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Jun 27, 2024
1 parent b7bf248 commit 03162b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/docker-project.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ $ curl -X GET http://localhost:9876/api/books

IMPORTANT: If you want use the stubs that you have built locally, on your host,
you should set the `-e STUBRUNNER_STUBS_MODE=LOCAL` environment variable and mount
the volume of your local m2 (`-v "$\{HOME}/.m2/:/home/scc/.m2:ro"`).
the volume of your local m2 (`-v "$\{HOME}/.m2/:/home/scc/.m2:rw"`).

[[docker-stubrunner-example-messaging]]
=== Example of Usage with Messaging
Expand Down Expand Up @@ -578,7 +578,7 @@ $ docker run \
-e "STUBRUNNER_REPOSITORY_ROOT=git://https://github.com/marcingrzejszczak/cdct_python_contracts.git" \ <3>
-e ADDITIONAL_OPTS="--thin.properties.dependencies.rabbitmq=org.apache.camel.springboot:camel-rabbitmq-starter:3.4.0" \ <4>
-e "STUBRUNNER_STUBS_MODE=REMOTE" \ <5>
-v "${HOME}/.m2/:/home/scc/.m2:ro" \ <6>
-v "${HOME}/.m2/:/home/scc/.m2:rw" \ <6>
-p 8750:8750 \ <7>
springcloud/spring-cloud-contract-stub-runner:3.0.4-SNAPSHOT <8>
```
Expand Down

0 comments on commit 03162b6

Please sign in to comment.