Skip to content

Latest commit

 

History

History

hoverfly

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

🦟 Hoverfly

A simple container to run hoverfly.

Usage

Running in OpenShift

OpenShift Applier

Run the following to pull in applier:

ansible-galaxy install -r requirements.yml -p galaxy -f

Now, deploy to your openshift cluster:

oc login <dev cluster>
ansible-playbook -i .applier/ galaxy/openshift-applier/playbooks/openshift-cluster-seed.yml

Uploading Simulation Files in OpenShift

$ curl -X PUT <hoverfly-admin-route>/api/v2/simulation --upload-file <file-name>

See the docs for detail

Running and Uploading in Docker

Running in standalone docker is not an objective for this container. Look at this issue in hoverfly or just run the binary locally without a container. It's a Go binary, so it's easy.

Runtime Environment Variables

  • RUN_AS_WEBSERVER: if set to any value, the hoverfly will start as a webserver. defaults to running as a proxy