Update default port from 8088 to 9000

- Update .env.embedded PORT variable
- Update README.md documentation
- Update deploy/README.md port references
- Update scripts/deploy-embedded.sh kiosk URLs
- Update src/directory/bootstrap.rs login URLs
- Update src/core/package_manager/setup/directory_setup.rs auth callback URLs

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude Sonnet 4.5 2026-02-08 12:13:42 +00:00
parent 84458b2a69
commit e8ce642b81
6 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
# Server
HOST=0.0.0.0
PORT=8088
PORT=9000
RUST_LOG=info
# Database (SQLite for embedded, no PostgreSQL needed)

View file

@ -37,7 +37,7 @@ On first run, botserver automatically:
- Installs required components (PostgreSQL, S3 storage, Redis cache, LLM)
- Sets up database with migrations
- Downloads AI models
- Starts HTTP server at `http://localhost:8088`
- Starts HTTP server at `http://localhost:9000`
### Command-Line Options

View file

@ -123,7 +123,7 @@ kubectl rollout restart deployment/botserver -n generalbots
```bash
# Find process using port
lsof -ti:8088 | xargs kill -9
lsof -ti:9000 | xargs kill -9
lsof -ti:3000 | xargs kill -9
```
@ -193,7 +193,7 @@ kubectl logs -f deployment/botserver -n generalbots
```bash
# Check server health
curl http://localhost:8088/health
curl http://localhost:9000/health
# Check botui health
curl http://localhost:3000/health

View file

@ -161,7 +161,7 @@ Type=simple
User=pi
Environment=DISPLAY=:0
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/chromium-browser --kiosk --noerrdialogs --disable-infobars --disable-session-crashed-bubble --app=http://localhost:8088/embedded/
ExecStart=/usr/bin/chromium-browser --kiosk --noerrdialogs --disable-infobars --disable-session-crashed-bubble --app=http://localhost:9000/embedded/
Restart=always
RestartSec=10
@ -498,7 +498,7 @@ echo "View logs:"
echo " ssh $TARGET_HOST 'sudo journalctl -u botserver -f'"
echo ""
if [ "$WITH_UI" = true ]; then
echo "Access UI at: http://$TARGET_HOST:8088/embedded/"
echo "Access UI at: http://$TARGET_HOST:9000/embedded/"
fi
if [ "$WITH_LLAMA" = true ]; then
echo ""

View file

@ -357,12 +357,12 @@ impl DirectorySetup {
.bearer_auth(self.admin_token.as_ref().unwrap_or(&String::new()))
.json(&json!({
"name": app_name,
"redirectUris": [redirect_uri, "http://localhost:3000/auth/callback", "http://localhost:8088/auth/callback"],
"redirectUris": [redirect_uri, "http://localhost:3000/auth/callback", "http://localhost:9000/auth/callback"],
"responseTypes": ["OIDC_RESPONSE_TYPE_CODE"],
"grantTypes": ["OIDC_GRANT_TYPE_AUTHORIZATION_CODE", "OIDC_GRANT_TYPE_REFRESH_TOKEN", "OIDC_GRANT_TYPE_PASSWORD"],
"appType": "OIDC_APP_TYPE_WEB",
"authMethodType": "OIDC_AUTH_METHOD_TYPE_POST",
"postLogoutRedirectUris": ["http://localhost:8080", "http://localhost:3000", "http://localhost:8088"],
"postLogoutRedirectUris": ["http://localhost:8080", "http://localhost:3000", "http://localhost:9000"],
"accessTokenType": "OIDC_TOKEN_TYPE_BEARER",
"devMode": true,
}))

View file

@ -250,7 +250,7 @@ fn save_setup_credentials(result: &BootstrapResult) {
Password: {:<46}
Email: {:<46}
🌐 LOGIN NOW: http://localhost:8088/suite/login ║
🌐 LOGIN NOW: http://localhost:9000/suite/login ║
@ -313,7 +313,7 @@ fn print_bootstrap_credentials(result: &BootstrapResult) {
println!("{:^60}", "");
println!("{:56}", "🌐 LOGIN NOW:");
println!("{:^60}", "");
println!("{:56}", "http://localhost:8088/suite/login");
println!("{:56}", "http://localhost:9000/suite/login");
println!("{:^60}", "");
println!("{}", separator);
println!("{:^60}", "");