cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
This commit is contained in:
parent
ecca2c3c1b
commit
66a7ef57e6
@ -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"]
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user