From b07613c0bc10f546b2c5b688798bc0b0e41bcedf Mon Sep 17 00:00:00 2001 From: Franco Barpp Gomes Date: Tue, 23 Apr 2024 10:41:24 -0300 Subject: [PATCH] Minor improvements to operator setup instructions (#111) * docs: Add container pull to operator setup final step * docs: Improve register_operator_on_setup description --- docs/docs/operator/setup.md | 7 +++++-- setup/operator/config/operator.yaml | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/docs/operator/setup.md b/docs/docs/operator/setup.md index 2edb8735..384c33a6 100644 --- a/docs/docs/operator/setup.md +++ b/docs/docs/operator/setup.md @@ -131,8 +131,10 @@ enable_metrics: true node_api_ip_port_address: near-sffl-operator:9010 enable_node_api: true -# Whether to try and register the operator in the AVS and in EL on startup -# If set, it will not re-register the operator if already registered +# Whether to try and register the operator in the AVS and in EL on startup. +# It will not re-register the operator if already registered. +# If unset, the operator will not be registered on startup! You'll need to +# manually register the operator - not recommended register_operator_on_startup: true # RMQ address and indexer rollup IDs @@ -207,6 +209,7 @@ This is the final step! Stop the previous execution with `Ctrl+C`. Then, run the following: ``` source .env +docker compose --profile indexer --profile operator pull docker compose --profile indexer --profile operator up ``` diff --git a/setup/operator/config/operator.yaml b/setup/operator/config/operator.yaml index 4107e893..9cfd5c03 100644 --- a/setup/operator/config/operator.yaml +++ b/setup/operator/config/operator.yaml @@ -28,8 +28,10 @@ enable_metrics: true node_api_ip_port_address: 0.0.0.0:9010 enable_node_api: true -# Whether to try and register the operator in the AVS and in EL on startup -# If set, it will not re-register the operator if already registered +# Whether to try and register the operator in the AVS and in EL on startup. +# It will not re-register the operator if already registered. +# If unset, the operator will not be registered on startup! You'll need to +# manually register the operator - not recommended register_operator_on_startup: true # RMQ address and indexer rollup IDs