diff --git a/Dockerfile_coolify b/Dockerfile_coolify index b6b0e67e..78255b6c 100644 --- a/Dockerfile_coolify +++ b/Dockerfile_coolify @@ -1,10 +1,10 @@ -FROM python:3.9-slim AS builder +FROM python:3.12-slim AS builder WORKDIR /monero-docs COPY . /monero-docs -RUN pip install -r requirements.txt +RUN apt-get update && apt-get install -y git && pip install -r requirements.txt RUN mkdocs build diff --git a/docs/en/technical-specs.md b/docs/en/technical-specs.md index eb40a9a9..2d57b0d1 100644 --- a/docs/en/technical-specs.md +++ b/docs/en/technical-specs.md @@ -47,7 +47,7 @@ title: Monero Technical Specification ## Current blockchain size * Pruned node: ~ 57GB as of Jan 2023 -* Complete chain without any pruning: ~138GB as of Jan 2023 +* Complete chain without any pruning: {{ monero_main_file_size }} as of {{ monero_main_file_last_update }} (Height {{ monero_main_block_height }}) ## Emission curve diff --git a/mkdocs.yml b/mkdocs.yml index 77b35e7c..9011846a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -221,3 +221,12 @@ plugins: - locale: nb name: Norsk Bokmål build: false + - monero-metrics: + endpoints: + - "http://127.0.0.1:9123/metrics" + time_format: '%Y-%m-%d %H:%M UTC' + defaults: + monero_main_file_size: "203.24 GB" + monero_main_file_last_update: "2024-09-09 11:51:28" + monero_main_block_height: 3233846 + monero_main_block_timestamp: "2024-09-09 11:50:21" diff --git a/requirements.txt b/requirements.txt index 616196ed..d5e19af6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,3 +32,4 @@ requests==2.32.3 six==1.16.0 urllib3==2.2.2 watchdog==4.0.1 +git+https://github.com/DiosDelRayo/mkdocs_monero_metrics_plugin.git