cmd/puppeth: reserve "yournode" as a non-allowed ethstats user

This commit is contained in:
Péter Szilágyi 2017-09-12 11:35:35 +03:00
parent ecca2c3c1b
commit 66a7ef57e6
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -42,7 +42,7 @@ RUN \
WORKDIR /eth-netstats
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"]
`