[PR #3994] [CLOSED] Add --ci mode and some parameters #5578

Closed
opened 2026-10-31 20:47:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3994
Author: @ozipoetra
Created: 4/4/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (2)

  • c8e4855 Add --ci mode and some parameters
  • beb3421 Merge branch 'main' into main

📊 Changes

1 file changed (+194 additions, -39 deletions)

View changed files

📝 install.sh (+194 -39)

📄 Description

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3994 **Author:** [@ozipoetra](https://github.com/ozipoetra) **Created:** 4/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`c8e4855`](https://github.com/MHSanaei/3x-ui/commit/c8e4855cfd4dfa8e57a69e7a993396f1f985d4d2) Add --ci mode and some parameters - [`beb3421`](https://github.com/MHSanaei/3x-ui/commit/beb34213a8231f40bcf9da1b1bbe87a1b5d1c39d) Merge branch 'main' into main ### 📊 Changes **1 file changed** (+194 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `install.sh` (+194 -39) </details> ### 📄 Description ## 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 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 - [x] Backend ## Type of Changes - [ ] Bug fix - [x] New feature - [ ] Refactoring - [ ] Other --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5578
No description provided.