Files
106_105_181_40/docs/host.md
Timmy 394abb181e docs: 記錄 WebRTCAppEE REST API 白名單新增,補充容器掛載資訊
- antmedia.md / maintenance.md: 新增 `remoteAllowedCIDR` 白名單章節,
  記錄 2026-04-17 將 `172.17.0.3`、`172.17.0.4`(php / php-staging
  容器 bridge IP)加入 WebRTCAppEE,解決 PHP 呼叫錄影 REST API 回 403
  「Not allowed IP」問題;含修改 SOP、容器重建 IP 變動提醒。
- host.md: 容器一覽表加入「掛載目錄」欄位,明列 php / php-staging
  的網站根目錄掛載。
- caddy.md: `:1443` → php-staging 路由補註網站根目錄路徑。
2026-04-17 15:40:33 +08:00

45 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 主機與容器總覽
## 主機資訊
| 項目 | 值 |
|------|-----|
| IP | `106.105.181.40` |
| SSH 別名 | `hospital_media` |
| 檔案擁有者 | `tpech_1duan` / `sftpuser` / `root` |
## 全部容器一覽
| 容器名稱 | Image | 網路 | 掛載目錄 | 用途 |
|----------|-------|------|----------|------|
| `caddy` | `caddy` | host | `/opt/caddy` | 反向代理、SSL 終端、靜態檔案 |
| `antmedia` | `antmediaserver:2.13.2` | host | — | Ant Media Server串流 |
| `php` | `timmy/php_base:v1.0` | port 8888→80 | `/opt/php/www``/var/www/html` | 正式環境 PHP 應用 |
| `php-staging` | `timmy/php_base:v1.0` | port 6666→80 | `/opt/php-staging/www``/var/www/html` | 測試環境 PHP 應用ISO27001 驗證用) |
| `coturn` | `coturn` | port 3478 | — | TURN/STUN 伺服器 |
| `phpmyadmin` | `phpmyadmin` | port 1888→80 | — | 資料庫管理介面 |
| `mysql-container` | `mysql:latest` | port 3306 | — | MySQL 資料庫 |
所有容器皆設為 `restart: always`
## 對外 Port 總表
| Port | 協定 / 服務 |
|------|-------------|
| 80 / 443 | CaddyHTTP / HTTPS |
| 1443 | Caddy → `php-staging` |
| 8081 | Caddy 健康檢查 |
| 5080 / 5443 | Ant Media Server HTTP / HTTPS |
| 1935 / 8443 | Ant Media Server RTMP / RTMPS |
| 3478 | CoturnTURN/STUN |
| 50000-60000 | Ant Media Server WebRTC UDP |
| 1888 | phpMyAdmin對外經 Caddy |
| 3306 | MySQL |
## 相關文件
- [Caddy 反向代理](caddy.md)
- [Ant Media Server](antmedia.md)
- [SSL 憑證管理](ssl.md)
- [系統維護與備份](maintenance.md)