Adding a few more variables to Keystone Docker
It introduces the Keystone host variable which should help in
Kubernetes distributions. It also checks if the database was
created but it is empty.
Change-Id: I7c4bf7423023825f21accc1d34c4d858596b2fd9
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
diff --git a/docker/Keystone/Dockerfile b/docker/Keystone/Dockerfile
index 3d7683d..30144b4 100644
--- a/docker/Keystone/Dockerfile
+++ b/docker/Keystone/Dockerfile
@@ -26,9 +26,17 @@
ENV DB_PORT 3306
ENV ROOT_DB_USER root
ENV ROOT_DB_PASSWORD admin
-# keystone
ENV KEYSTONE_DB_PASSWORD admin
+# keystone
+ENV REGION_ID RegionOne
+ENV KEYSTONE_HOST keystone
+# admin user
+ENV ADMIN_USERNAME admin
ENV ADMIN_PASSWORD admin
-ENV NBI_PASSWORD nbi
+ENV ADMIN_PROJECT admin
+# nbi service user
+ENV SERVICE_USERNAME nbi
+ENV SERVICE_PASSWORD nbi
+ENV SERVICE_PROJECT service
ENTRYPOINT ./start.sh