diff options
Diffstat (limited to 'moonv4/templates')
-rw-r--r-- | moonv4/templates/moon_keystone/Dockerfile (renamed from moonv4/templates/docker/keystone/Dockerfile) | 0 | ||||
-rw-r--r-- | moonv4/templates/moon_keystone/README.md (renamed from moonv4/templates/docker/keystone/README.md) | 11 | ||||
-rw-r--r-- | moonv4/templates/moon_keystone/run.sh (renamed from moonv4/templates/docker/keystone/run.sh) | 0 |
3 files changed, 7 insertions, 4 deletions
diff --git a/moonv4/templates/docker/keystone/Dockerfile b/moonv4/templates/moon_keystone/Dockerfile index 1ab24de9..1ab24de9 100644 --- a/moonv4/templates/docker/keystone/Dockerfile +++ b/moonv4/templates/moon_keystone/Dockerfile diff --git a/moonv4/templates/docker/keystone/README.md b/moonv4/templates/moon_keystone/README.md index 34926b91..77c90e98 100644 --- a/moonv4/templates/docker/keystone/README.md +++ b/moonv4/templates/moon_keystone/README.md @@ -2,12 +2,12 @@ ## build keystone image -### without proxy: +without proxy: ```bash docker build -t keystone:mitaka . ``` -### with a proxy: +with a proxy: ```bash docker build --build-arg https_proxy=http://proxy:3128 --build-arg http_proxy=http://proxy:3128 -t keystone:mitaka . ``` @@ -27,17 +27,20 @@ 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 ``` @@ -45,7 +48,7 @@ docker container run -dti --net moon --hostname keystone --name keystone -e DB ## check ### log ```bash -docker logs keystone +docker logs keystone -f ``` @@ -59,4 +62,4 @@ export OS_TENANT_NAME=admin export OS_AUTH_URL=http://localhost:5000/v3 export OS_DOMAIN_NAME=Default openstack project list -``` +```
\ No newline at end of file diff --git a/moonv4/templates/docker/keystone/run.sh b/moonv4/templates/moon_keystone/run.sh index b80dd3f1..b80dd3f1 100644 --- a/moonv4/templates/docker/keystone/run.sh +++ b/moonv4/templates/moon_keystone/run.sh |