Merge pull request #15137 from karalabe/puppeth-keywords

cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
This commit is contained in:
Péter Szilágyi 2017-09-12 11:50:53 +03:00 committed by GitHub
commit 514b1587db

View File

@ -42,7 +42,7 @@ RUN \
WORKDIR /eth-netstats WORKDIR /eth-netstats
EXPOSE 3000 EXPOSE 3000
RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}]};' > lib/utils/config.js RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}], reserved: ["yournode"]};' > lib/utils/config.js
CMD ["npm", "start"] CMD ["npm", "start"]
` `