mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
docs: update 1panel docs
This commit is contained in:
parent
afd083b524
commit
da635d0b3b
@ -125,8 +125,11 @@ docker compose run -it --rm web php artisan xboard:install
|
||||
|
||||
⚠️ Important Configuration Notes:
|
||||
1. Database Configuration
|
||||
- Database Host: Enter `mysql` (not localhost or 127.0.0.1)
|
||||
- Database Port: `3306`
|
||||
- Database Host: Choose based on your deployment:
|
||||
1. If database and Xboard are in the same network, use `mysql`
|
||||
2. If connection fails, go to: Database -> Select Database -> Connection Info -> Container Connection, and use the "Host" value
|
||||
3. If using external database, enter your actual database host
|
||||
- Database Port: `3306` (default port unless configured otherwise)
|
||||
- Database Name: `xboard` (the database created earlier)
|
||||
- Database User: `xboard` (the user created earlier)
|
||||
- Database Password: Enter the password saved earlier
|
||||
|
@ -150,8 +150,11 @@ docker compose run -it --rm web php artisan xboard:install
|
||||
|
||||
⚠️ 重要配置说明:
|
||||
1. 数据库配置
|
||||
- 数据库地址:填写 `mysql`(注意不是 localhost 或 127.0.0.1)
|
||||
- 数据库端口:`3306`
|
||||
- 数据库地址:根据部署方式选择以下配置
|
||||
1. 如果数据库和 Xboard 在同一网络,一般填写 `mysql`
|
||||
2. 如果连接失败,请在 1Panel 面板中依次打开:数据库 -> 选择对应数据库 -> 连接信息 -> 容器连接,使用其中的"地址"
|
||||
3. 如果使用外部数据库,填写实际的数据库地址
|
||||
- 数据库端口:`3306`(如无特殊配置,使用默认端口)
|
||||
- 数据库名称:`xboard`(之前创建的数据库名)
|
||||
- 数据库用户:`xboard`(之前创建的用户名)
|
||||
- 数据库密码:填写之前保存的密码
|
||||
|
Loading…
Reference in New Issue
Block a user