Docker and settings file for horizon
This commit is contained in:
19
roles/horizon/files/Dockerfile
Normal file
19
roles/horizon/files/Dockerfile
Normal 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
|
||||
|
Reference in New Issue
Block a user