Enable the metrics endpoint inside Docker.build by default

This commit is contained in:
Deirdre Connolly 2021-01-02 18:11:37 -05:00 committed by Deirdre Connolly
parent 6436a09be6
commit f9eb4a28df
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ ARG NETWORK=Mainnet
RUN printf "[consensus]\n" >> /zebrad.toml
RUN printf "checkpoint_sync = ${CHECKPOINT_SYNC}\n" >> /zebrad.toml
RUN printf "[metrics]\n" >> /zebrad.toml
RUN printf "endpoint_addr = '0.0.0.0:9999'\n" >> /zebrad.toml
RUN printf "[network]\n" >> /zebrad.toml
RUN printf "network = '${NETWORK}'\n" >> /zebrad.toml
RUN printf "[state]\n" >> /zebrad.toml