Skip to content

Add --ci mode and some parameters#3994

Open
ozipoetra wants to merge 1 commit intoMHSanaei:mainfrom
ozipoetra:main
Open

Add --ci mode and some parameters#3994
ozipoetra wants to merge 1 commit intoMHSanaei:mainfrom
ozipoetra:main

Conversation

@ozipoetra
Copy link
Copy Markdown

What is the pull request?

Adds a --ci flag to the installer for non-interactive use in Docker and CI/CD environments. Includes optional parameters to set port, username, password, and web base path at install time. SSL is disabled by default in this mode but can be opted in with --ssl.

bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) \
  --ci --port 54321 --username admin --password secret --path mypath

All parameters are optional — anything not provided falls back to a random value. Existing interactive behaviour is completely unchanged.

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Well, this can make installing on ci/cd easier
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