Giter VIP home page Giter VIP logo

sigsci-docker-brew's Introduction

sigsci-docker-brew

Install and setup of a docker image for running Signal Sciences in reverse proxy mode on OSX

Build Status

Dependencies

Before running, make sure you have the follwing tools installed on your Mac.

Instructions

  1. Export your Signal Sciences agent keys to environment variables
    • $ export SIGSCI_ACCESSKEYID=<key>
    • $ export SIGSCI_SECRETACCESSKEY=<key>
  2. Run ./sigsci_osx.sh

Alternatively, the agent can run as a "sidecar", which means it will listen for connections from a Signal Sciences module over tcp on port 9999.

Run ./sigsci_osx.sh sidecar

This script will install docker and docker-machine if you don't already have it installed. By default it will start a docker container with the agent in reverse proxy mode listening on port 80, and proxy connections to port 8080 (the web app running on your Mac).

Optionally, you can adjust configuration with the following variables:

  • SIGSCI_PORT - this is the port the agent will listen on.
    • Example: export SIGSCI_PORT=8080
  • SIGSCI_WEBAPP_HOST - this is the ip address of the host running your web application.
    • Example: export SIGSCI_WEBAPP_HOST=192.168.1.5
  • SIGSCI_WEBAPP_PORT - this is the port your web application is listening on.
    • Example: export SIGSCI_WEBAPP_PORT=8085

When the docker container starts you will see the agent start up and the agent logs. You can press ctrl+c to stop the agent and the container.

sigsci-docker-brew's People

Contributors

foospidy avatar phillip-sigsci avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

modulexcite

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.