Giter Club home page Giter Club logo

tyk-on-prem's Introduction

This demo is NOT designed for production use or performance testing

Tyk API Gateway is fully on-premise solution, which include gateway, dashboard and analytics processing pipeline. This demo will run Tyk On-premise on your machine, which contains 5 containers: Tyk Gateway, Tyk Dashboard, Tyk Pump, Redis and Mongodb. This repo great for proof of concept and demo purpose, but if you want test performance, you need to move each component to separate machine, following our documentation https://tyk.io/docs/.

Tyk Pro Demo using Docker

This compose file is designed to provide a quick, simple demo of the Tyk stack, this includes the gateway, the dashboard and the portal.

Step 1: Map hostnames to IP addresses

Set up your /etc/hosts file to include the IP of your docker daemon:

127.0.0.1 www.tyk-portal-test.com
127.0.0.1 www.tyk-test.com

Note that the IP may be different depending on your installation, Windows users may find it running on 10.x.x.x, it is important the URL stays the same because our setup.sh assumes this is the one you are using.

Step 2: Add your dashboard license

Open the tyk_analytics.conf file in the confs/ folder and add your license string to the "license_key": "" section.

Step 3: Initialise the Docker containers

Run docker compose:

docker-compose up

Please note that this command may take a while to complete, as Docker needs to download and provision all of the containers.

This will run in non-daemonised mode so you can see all the output. For the next step, once this step is complete, open a new shell:

Step 4: Bootstrap the Tyk installation

Bootstrap the instance:

Open your browser to http://www.tyk-test.com:3000. You will be presented with the Bootstrap UI to create your first organisation and admin user.

Note, if you run into DNS issues with www.tyk-test.com while trying to bootstrap through the GUI, you will need to set the host_config.hostname value in tyk_analytics.conf to the public IP of your Docker daemon or simply use localhost

Tyk Pro Demo using Docker Swarm

Please refer to docker-swarm.md for detailed instructions on running this simple deployment on the Docker Swarm with Tyk cluster. Note that in order to have more than one functional gateway node a corresponding license is required.

tyk-on-prem's People

Contributors

lazared avatar

Watchers

 avatar

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.