Skip to content

Commit

Permalink
Merge pull request #221 from eliasnogueira/patch-1
Browse files Browse the repository at this point in the history
Update docker.md
  • Loading branch information
oleg-nenashev authored Oct 28, 2023
2 parents 72fc436 + 65692a9 commit 7e36677
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion _docs/standalone/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ENTRYPOINT ["/docker-entrypoint.sh", "--global-response-templating", "--disable-

Configuration in compose file is similar to Dockerfile definition

```YAML
```yaml
# Sample compose file
version: "3"
services:
Expand All @@ -113,4 +113,17 @@ services:
entrypoint: ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]
```
You can also mount your local `__files` and `mappings` files into the container e.g:

```yaml
# Sample compose file
version: "3"
services:
wiremock:
image: "wiremock/wiremock:latest"
container_name: my_wiremock
volumes:
- ./__files:/home/wiremock/__files
- ./mappings:/home/wiremock/mappings
entrypoint: ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]
```

0 comments on commit 7e36677

Please sign in to comment.