Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Reverse Proxy

This exmaple runs the Relay Proxy with an nginx reverse Proxy sitting between it and Harness Saas.

Configure Proxy

If you haven't already, create a Proxy Key in Harness and set it as the PROXY_KEY environment variable in the docker-compose file.

Running

To start the Proxy, Prometheus & Grafana run docker-compose up from this directory in your terminal.

Configuring an SDK to use the Proxy

See Configure SDKs to work with the Relay Proxy

Monitoring the Proxy with Grafana

  • Open http://localhost:3000 in your browser
  • To log in to a local grafana instance for the first time use admin for the username and admin for the password. Grafana will then ask you to create a new password for the admin user, you can set this to any value you want it to be.
  • Once you've logged in you should be able to navigate to the Harness FF Proxy dashboard. If you've pointed an SDK at your Proxy you should be able to see some metrics start to appear here.