mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 04:22:11 +00:00
get FQDN for ES head from open window
This commit is contained in:
parent
7945961cee
commit
67d5c5a26c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ RUN apk -U --no-cache add \
|
|||
cd /usr/src/app/ && \
|
||||
git clone --depth=1 https://github.com/mobz/elasticsearch-head . && \
|
||||
npm install http-server && \
|
||||
sed -i 's/\"http\:\/\/localhost\:9200\"/\"https\:\/\/\<FQDN\>\:64297\/es\/\"/' /usr/src/app/_site/app.js && \
|
||||
sed -i "s#\"http\:\/\/localhost\:9200\"#window.location.protocol \+ \'\/\/\' \+ window.location.hostname \+ \'\:\' \+ window.location.port \+ \'\/es\/\'#" /usr/src/app/_site/app.js && \
|
||||
|
||||
# Setup user, groups and configs
|
||||
addgroup -g 2000 head && \
|
||||
|
|
Loading…
Reference in a new issue