diff options
author | WuKong <rebirthmonkey@gmail.com> | 2017-07-18 17:55:10 +0200 |
---|---|---|
committer | WuKong <rebirthmonkey@gmail.com> | 2017-07-18 17:55:10 +0200 |
commit | 0d497bd3ac571c55d578faf21a5370e6cbf3edc9 (patch) | |
tree | d7ef8d7152b984c90754175a5f4089bad44b76cc /moonv4/templates/moon_keystone/Dockerfile | |
parent | 5cc39c4b3a2de6d670f357ed3329a4d6587c7fc7 (diff) |
review moonv4
Change-Id: Iaadd2d24871ebca3e8ba741ae21d2c0dc2d6879a
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonv4/templates/moon_keystone/Dockerfile')
-rw-r--r-- | moonv4/templates/moon_keystone/Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/moonv4/templates/moon_keystone/Dockerfile b/moonv4/templates/moon_keystone/Dockerfile new file mode 100644 index 00000000..1ab24de9 --- /dev/null +++ b/moonv4/templates/moon_keystone/Dockerfile @@ -0,0 +1,25 @@ +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 +ENV INTERFACE_HOST="http://localhost:3001" + +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 run.sh /root + +EXPOSE 35357 +EXPOSE 5000 + +CMD ["/bin/bash", "/root/run.sh"]
\ No newline at end of file |