File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
docker/opensearch/opensearch-dashboards Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
77
88{% import "macros.j2" as macros with context %}
99
10- {{ macros.configure_user(name='opensearch', shell='/bin/bash', homedir='/usr/share/opensearch') }}
10+ {{ macros.configure_user(name='opensearch-dashboards ', shell='/bin/bash', homedir='/usr/share/opensearch-dashboards ') }}
1111{{ macros.enable_extra_repos(['opensearch-dashboards'] ) }}
1212
1313{% set opensearch_dashboards_packages = ['opensearch-dashboards' ] %}
@@ -30,4 +30,4 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
3030{% block opensearch_footer %}{% endblock %}
3131{% block footer %}{% endblock %}
3232
33- USER opensearch
33+ USER opensearch-dashboards
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if [[ ! -d " /var/log/kolla/opensearch" ]]; then
4- mkdir -p /var/log/kolla/opensearch
3+ if [[ ! -d " /var/log/kolla/opensearch-dashboards " ]]; then
4+ mkdir -p /var/log/kolla/opensearch-dashboards
55fi
6- if [[ $( stat -c %a /var/log/kolla/opensearch) != " 755" ]]; then
7- chmod 755 /var/log/kolla/opensearch
6+ if [[ $( stat -c %a /var/log/kolla/opensearch-dashboards ) != " 755" ]]; then
7+ chmod 755 /var/log/kolla/opensearch-dashboards
88fi
99
1010export DASHBOARDS_HOME=/usr/share/opensearch-dashboards
Original file line number Diff line number Diff line change 960960 'opensearch-user' : {
961961 'uid' : 42490 ,
962962 'gid' : 42490 ,
963+ },
964+ 'opensearch-dashboards-user' : {
965+ 'uid' : 42492 ,
966+ 'gid' : 42492 ,
963967 }
964968}
965969
You can’t perform that action at this time.
0 commit comments