orange-base dockerfile, include orange/mysql/consule/upstream-services
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
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
docker kill upstream-service
curl -v -H 'host:test.foo' http://127.0.0.1:8889/