Quick start

With docker

Run mongodb server

use the db init script

sudo docker run --name mongo -d \
    -e "MONGO_INITDB_DATABASE=servicecomb" \
    -e "MONGO_INITDB_ROOT_USERNAME=kie" \
    -e "MONGO_INITDB_ROOT_PASSWORD=123" \
    -p 27017:27017 \
    -v ./deployments/db.js:/docker-entrypoint-initdb.d/db.js:ro \
    mongo:4.0
export MONGO_IP=`sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' mongo`

Run kie server

sudo docker run --name kie-server -d \
    -e "MONGODB_ADDR=${MONGO_IP}:27017" \
    -e "MONGODB_USER=kie" \
    -e "MONGODB_PWD=123" \
    -p 30110:30110 \
    servicecomb/kie

Run locally with Docker compose

git clone git@github.com:apache/servicecomb-kie.git
cd servicecomb-kie/deployments/docker
sudo docker-compose up

it will launch 3 components

Run on kubernetes

kubectl apply -f https://raw.githubusercontent.com/apache/servicecomb-kie/master/deployments/kuberneetes/

it will launch 3 components, you can access them both in kubernetes and out of kubernetes. out of kubernetes: