Skip to content

How to map with local mappings and response files #56

@aleproust

Description

@aleproust

Summary

Hello,
I've been using your chart and I was trying to use files on my local to configure the mappings and response.

I tried to go with volumes

volumes:
  - name: mappings-data
    hostPath:
      path: /data/mappings
  - name: responses-data
    hostPath:
      path: /data/responses
volumeMounts:
  - name: mappings-data
    mountPath: /home/wiremock/mappings
  - name: responses-data
    mountPath: /home/wiremock/__files

or with a command line with --set-file mappings.custom.mapping.json=./mappings/custom_mapping.json

But I'm facing error. Is there any documentation on how to do this?

Thanks

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions