Author SHA1 Message Date
Alberto Soutullo 59d0af374b Export metric port to 8008 in Dockerfile 2024-06-03 17:56:32 +02:00
Alberto Soutullo 12b46f76c5 Change metric port to 8008 2024-06-03 17:55:26 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,6 +25,6 @@ COPY cron_runner.sh .
RUN chmod +x cron_runner.sh
RUN chmod +x main
EXPOSE 5000
EXPOSE 5000 8008
ENTRYPOINT ["./cron_runner.sh"]
+1 -1
View File
@@ -71,7 +71,7 @@ proc main {.async.} =
pingProtocol = Ping.new(rng=rng)
# Metrics
echo "Starting metrics HTTP server"
let metricsServer = startMetricsServer(parseIpAddress("0.0.0.0"), Port(8000))
let metricsServer = startMetricsServer(parseIpAddress("0.0.0.0"), Port(8008))
gossipSub.parameters.floodPublish = true
#gossipSub.parameters.lazyPushThreshold = 1_000_000_000