2
0
mirror of https://github.com/acepanel/acepanel.github.io.git synced 2026-02-04 09:13:09 +08:00

feat: 格式化

This commit is contained in:
2026-01-27 01:26:41 +08:00
parent 7184c6fcb2
commit e422162f0f
48 changed files with 407 additions and 358 deletions

View File

@@ -10,7 +10,9 @@ Servers in China cannot connect to Docker Hub and need to configure mirror accel
```json
{
"registry-mirrors": ["https://docker.1ms.run"]
"registry-mirrors": [
"https://docker.1ms.run"
]
}
```
@@ -31,9 +33,9 @@ For mirror acceleration addresses, you can use [1ms Mirror](https://1ms.run/) or
1. Click **Logs** to view error messages
2. Common causes:
- Port occupied: Modify the mapped port
- Image pull failed: Configure mirror acceleration
- Configuration error: Check docker-compose.yml syntax
- Port occupied: Modify the mapped port
- Image pull failed: Configure mirror acceleration
- Configuration error: Check docker-compose.yml syntax
## Container Inaccessible

View File

@@ -68,5 +68,6 @@ pg_dump -U username database_name > backup.sql
To modify character set for existing databases:
```sql
ALTER DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER
DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
```

View File

@@ -19,6 +19,7 @@ If deployed under `/root`, you need to run as root user (not recommended).
Such as `node: No such file or directory`, indicates environment variables are not configured.
Solutions:
1. Associate runtime environment in **Edit** -> **Dependencies**
2. Or add PATH in **Runtime Settings** -> **Environment Variables**
@@ -35,6 +36,7 @@ lsof -i:3000 # View process occupying the port
**Edit** -> **Runtime Settings** -> **Environment Variables**, click **Add**.
Common configurations:
- `NODE_ENV=production`
- `PORT=3000`

View File

@@ -57,11 +57,11 @@ Add listening addresses in **Domains and Listening**: `[::]:80` and `[::]:443`.
## CDN Origin and HTTPS
| CDN Origin Protocol | Website HTTPS Configuration |
|---------------------|----------------------------|
| HTTP | Not required |
| HTTPS | Must be enabled |
| Follow Protocol | Must be enabled, and HTTP redirect must not be enabled |
| CDN Origin Protocol | Website HTTPS Configuration |
|---------------------|--------------------------------------------------------|
| HTTP | Not required |
| HTTPS | Must be enabled |
| Follow Protocol | Must be enabled, and HTTP redirect must not be enabled |
## Upload File Size Limit