dockerize for linkedin's [ambry](https://github.com/ohze/ambry)
404
brew install jq if you use MacOS)sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable
download rancher CLI
config rancher cli
Prepare Rancher In Rancher UI:
Defaultambry.id=1, ambry.bootstrap.upgrade=1
The other with label ambry.id=2# add `zk` stack
rancher --wait stack create zk --start -f zk/docker-compose.yml
# rancher inspect `rancher inspect zk |jq .serviceIds[0] -r` | jq .state
rancher --wait stack create ambry-mock --start -f ambry-bootstrap-upgrade/ambry-mock/docker-compose.yml
rancher --wait stack create ambry-bootstrap-upgrade --start -f ambry-bootstrap-upgrade/docker-compose.yml
rancher --wait stack create helix --start -f helix/docker-compose.yml
rancher --wait stack create ambry --start -f ambry/docker-compose.yml
rancher rm ambry-mock
rancher --wait stack create ambry-frontend --start -f ambry-frontend/docker-compose.yml
Bonus:
create a service in rancher with image sandinh/helix then docker exec -it <id> sh to it to run helix commands, ex:
helix-admin.sh --zkSvr zoo1.zk:2181,zoo2.zk:2181,zoo3.zk:2181 --dropCluster Ambry_Ohze
Content type
Image
Digest
Size
191.5 MB
Last updated
about 9 years ago
docker pull sandinh/ambry