Skip to content

orange-base dockerfile, include orange/mysql/consule/upstream-services

Notifications You must be signed in to change notification settings

whiteCcinn/orange-docker

Repository files navigation

orange-docker

orange-base dockerfile, include orange/mysql/consule/upstream-services

Depend on

Usage

Base

cp -v env.example .env
cd orange/src && git clone https://github.com/orlabs/orange.git && cd -
cd upstream-services/src/ && git clone https://github.com/whiteCcinn/dispatcher-misc.git && cd -

docker network create --driver=bridge --subnet=192.167.0.0/24 orange_docker_ord-network
docker-compose up

Register Upstream Service

Non-invasive registration

curl \
    --request PUT \
    --data @upstream-services/register/register.json \
    http://127.0.0.1:8508/v1/agent/service/register

curl \
    --request PUT \
    --data @upstream-services/register/register2.json \
    http://127.0.0.1:8508/v1/agent/service/register

images/1.png

images/2.png

images/3.png

Simulated upstream death

docker kill upstream-service

images/4.png

images/5.png

images/6.png

Orange Dashboard

images/7.png

Consul_upstream(balancer)

curl -v -H 'host:test.foo' http://127.0.0.1:8889/

images/8.png

About

orange-base dockerfile, include orange/mysql/consule/upstream-services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published