Skip to content

Some revision to Anchor package and add Anchor dashboard#4

Open
chong-he wants to merge 2 commits intomainfrom
revise
Open

Some revision to Anchor package and add Anchor dashboard#4
chong-he wants to merge 2 commits intomainfrom
revise

Conversation

@chong-he
Copy link
Collaborator

@chong-he chong-he commented Mar 12, 2026

@chong-he chong-he changed the title Some revision to Anchor packages Some revision to Anchor packages and add Anchor dashboard Mar 12, 2026
SETUP_MODE: ""
EXTRA_OPTS: ""
EXISTING_PASSWORD: ""
NEW_PASSWORD: ""
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like required to be in the environment variables, because without this, if a user tries to change the configuration (e.g., add extra flag), they will be prompted to be required to enter this field (for new operator mode)

For import operator mode, the EXISTING_PASSWORD is already there as above

Comment on lines +23 to +26
if [ ! -f "$PASSWORD_FILE_PATH" ]; then
echo "$EXISTING_PASSWORD" > "$PASSWORD_FILE_PATH"
fi

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think doing this way is probably better? i.e., if a user mistakenly change the password when updating their config, that will not be effective. Because I have tested to allow changing password after the setup, and it just failed to decrypt the password and Anchor cannot start

@chong-he chong-he changed the title Some revision to Anchor packages and add Anchor dashboard Some revision to Anchor package and add Anchor dashboard Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant