Docker and settings file for horizon

This commit is contained in:
Egon Rijpkema
2017-05-16 16:18:13 +02:00
parent 5a81413b3a
commit d7a9312682
2 changed files with 522 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Build keystone. It needs to be run with
# --add-host=mariadb:<ip mariadb listens tp>
# Wen starting with an initialized db,
# run keystone-manage db_sync from this docker first:
# $ docker run hpc/keystone --add-host=mariadb:<ip mariadb> "keystone-manage db_sync"
FROM ubuntu:zesty
RUN apt-get update
RUN apt-get install --yes openstack-dashboard
ADD local_settings.py /etc/openstack-dashboard/local_settings.py
RUN chown -R www-data: /var/lib/openstack-dashboard/
#RUN keystone-manage db_sync
CMD apachectl -DFOREGROUND