Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A docker container network with Toxi-Proxy #362

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

mikkokar
Copy link
Contributor

This PR adds Docker container network for integration testing with Toxi-Proxy.

The container network has a Styx as a proxy and an Apache as a static file server. A toxi-proxy is deployed to intercept all traffic between the two. The toxics can be configured in toxi-proxy configuration file, or in runtime using the toxi-proxy HTTP API etc.

The following ports are exposed to the host machine:

  • styx proxy 8080 (http), 8443 (https), 9000 (admin interface)
  • toxi-proxy API server: 8474

Styx configuration server configuration is mounted from host, from styx-config/styxconf.yml file, and the origin file is in styx-config/origins.yml. By default, the styx configuration is set to monitor the origins file. Therefore the origins can be re-configured while the styx is running.

@mikkokar mikkokar merged commit 64c40a8 into ExpediaGroup:master Dec 20, 2018
@mikkokar mikkokar deleted the toxiproxy branch December 20, 2018 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants