Giter VIP home page Giter VIP logo

cop's Introduction

Repository for setting up CoScale on-premise.

Installation

Create a conf.sh file using conf.sh.example as a template

cp conf.sh.example conf.sh

Update conf.sh with your installations parameters. The most important fields to fill in are the API_URL and APP_URL. These should be set to 'http://'. For example:

APP_URL=http://coscale.company.com
API_URL=http://coscale.company.com
[email protected]
API_SUPER_PASSWD=mySUPERsecurePASSWORD

Pull the images from the CoScale docker registry:

./pull.sh

Run Coscale:

./run.sh

Connecting to a container

To get a bash shell inside a certain container you can use the connect script './connect.sh ', eg:

./connect.sh api

The connect script also has some helps to get to the log files of the services:

./connect.sh api log    # Shows the full log
./connect.sh api tail   # Tails the log
./connect.sh api <cmd>  # Execute <cmd> inside the container

Tearing down

Stop and remove all coscale containers by running

./stop.sh

Updating the CoScale services

./pull.sh
./stop.sh coscale
./run.sh coscale

DNS issues

For loadbalancing purposes the internal CoScale services also request data from api through the loadbalancer. This only works if the API_URL is setup properly and all containers can resolve the hostname of the host. If the containers do not pickup the correct dns configuration, dns options can be added to run.sh. More information on the docker dns settings: https://docs.docker.com/engine/userguide/networking/default_network/configure-dns/

cop's People

Contributors

bartdevylder avatar cs-pvh avatar firewall avatar fryckbos avatar kidk avatar mihaioprea avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cop's Issues

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.