aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/templates/docker/keystone/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/templates/docker/keystone/Dockerfile')
-rw-r--r--moonv4/templates/docker/keystone/Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/moonv4/templates/docker/keystone/Dockerfile b/moonv4/templates/docker/keystone/Dockerfile
new file mode 100644
index 00000000..b8ba8212
--- /dev/null
+++ b/moonv4/templates/docker/keystone/Dockerfile
@@ -0,0 +1,27 @@
+# Pull base image.
+FROM ubuntu:latest
+
+ENV ADMIN_TOKEN=p4ssw0rd
+ENV ADMIN_PASSWORD=p4ssw0rd
+ENV DB_CONNECTION=mysql+pymysql
+ENV DB_DRIVER=sql
+ENV DB_HOST=localhost
+ENV DB_DATABASE=keystonedb
+ENV DB_USER=keystone
+ENV DB_PASSWORD=p4ssw0rd
+ENV DB_USER_ROOT=root
+ENV DB_PASSWORD_ROOT=p4sswOrd1
+ENV RABBIT_NODE=server
+
+RUN apt-get update && apt-get install apache2 rabbitmq-server keystone python-openstackclient libapache2-mod-wsgi mysql-client -y
+
+RUN apt-get update && apt-get install iputils-ping net-tools -y
+
+
+# ADD set-ops-env.source.sh /root
+ADD run.sh /root
+
+EXPOSE 35357
+EXPOSE 5000
+
+CMD ["/bin/bash", "/root/run.sh"] \ No newline at end of file