diff options
author | WuKong <rebirthmonkey@gmail.com> | 2017-07-19 14:01:30 +0200 |
---|---|---|
committer | WuKong <rebirthmonkey@gmail.com> | 2017-07-19 14:01:30 +0200 |
commit | 6a59009e64f727bcf3c67a8ae45a02e4137bfb99 (patch) | |
tree | d58fed674114f4ee8497efec8d303d0f4baba836 /moonv4/templates/moon_keystone | |
parent | ffd694ebadb1d3b4e140104f9f0a81837c0e7258 (diff) |
update moon_router
Change-Id: Iafa79fce14d965dba2f21612eb9c2ae47599c6d7
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonv4/templates/moon_keystone')
-rw-r--r-- | moonv4/templates/moon_keystone/README.md | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/moonv4/templates/moon_keystone/README.md b/moonv4/templates/moon_keystone/README.md index cf77a74a..7027324e 100644 --- a/moonv4/templates/moon_keystone/README.md +++ b/moonv4/templates/moon_keystone/README.md @@ -13,45 +13,6 @@ docker build --build-arg https_proxy=http://proxy:3128 --build-arg http_proxy=ht ``` -## Setup an execution environment - -### clean up if necessary -```bash -docker container rm -f $(docker ps -a | grep moon | cut -d " " -f 1) 2>/dev/null -docker container rm -f messenger db keystone 2>/dev/null -``` - -### create a network -```bash -docker network create -d bridge --subnet=172.18.0.0/16 --gateway=172.18.0.1 moon -``` - -### Start RabbitMQ -TODO: use our own container -```bash -docker container run -dti --net=moon --hostname messenger --name messenger -e RABBITMQ_DEFAULT_USER=moon -e RABBITMQ_DEFAULT_PASS=p4sswOrd1 -e RABBITMQ_NODENAME=rabbit@messenger -e RABBITMQ_DEFAULT_VHOST=moon -e RABBITMQ_HIPE_COMPILE=1 -p 5671:5671 -p 5672:5672 -p 8080:15672 rabbitmq:3-management -``` - - -### Start MySQL server -TODO: user our own containter -```bash -docker container run -dti --net=moon --hostname db --name db -e MYSQL_ROOT_PASSWORD=p4sswOrd1 -e MYSQL_DATABASE=moon -e MYSQL_USER=moon -e MYSQL_PASSWORD=p4sswOrd1 -p 3306:3306 mysql:latest -``` - -## launch a Keystone container -TODO: user our own containter -```bash -docker container run -dti --net moon --hostname keystone --name keystone -e DB_HOST=db -e DB_PASSWORD_ROOT=p4sswOrd1 -p 35357:35357 -p 5000:5000 keystone:mitaka -``` - -## check -### log -```bash -docker logs keystone -f -``` - - ### access to the container ```bash docker container exec -ti keystone /bin/bash |