diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-22 14:22:17 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-22 14:22:17 +0000 |
commit | 23c2378724a0287a8b4a8ba200b12ba1885cf362 (patch) | |
tree | 1bab7cc05e8273da43026ae6fbe24118d0f15eda /docker/services/ironic-api.yaml | |
parent | 10ce661144ae65a124b839efc3b457ceabfd3cbd (diff) | |
parent | f80c937f32907c1db56f254c4aaa447b56240703 (diff) |
Merge "Deploy ironic-api with WSGI"
Diffstat (limited to 'docker/services/ironic-api.yaml')
-rw-r--r-- | docker/services/ironic-api.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docker/services/ironic-api.yaml b/docker/services/ironic-api.yaml index a32176af..1c8aa5bd 100644 --- a/docker/services/ironic-api.yaml +++ b/docker/services/ironic-api.yaml @@ -61,6 +61,7 @@ outputs: config_settings: map_merge: - get_attr: [IronicApiBase, role_data, config_settings] + - apache::default_vhost: false step_config: &step_config get_attr: [IronicApiBase, role_data, step_config] service_config_settings: {get_attr: [IronicApiBase, role_data, service_config_settings]} @@ -75,7 +76,7 @@ outputs: - [ {get_param: DockerNamespace}, {get_param: DockerIronicConfigImage} ] kolla_config: /var/lib/kolla/config_files/ironic_api.json: - command: /usr/bin/ironic-api + command: /usr/sbin/httpd -DFOREGROUND permissions: - path: /var/log/ironic owner: ironic:ironic @@ -113,7 +114,7 @@ outputs: start_order: 10 image: *ironic_image net: host - privileged: false + user: root restart: always volumes: list_concat: @@ -121,6 +122,10 @@ outputs: - - /var/lib/kolla/config_files/ironic_api.json:/var/lib/kolla/config_files/config.json:ro - /var/lib/config-data/ironic/etc/ironic:/etc/ironic:ro + - /var/lib/config-data/ironic/etc/httpd/conf/:/etc/httpd/conf/:ro + - /var/lib/config-data/ironic/etc/httpd/conf.d/:/etc/httpd/conf.d/:ro + - /var/lib/config-data/ironic/etc/httpd/conf.modules.d/:/etc/httpd/conf.modules.d/:ro + - /var/lib/config-data/ironic/var/www/:/var/www/:ro - /var/log/containers/ironic:/var/log/ironic environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS |