Initial commit: 106.105.181.40 server documentation
Hospital Media Server 運維筆記,包含 Caddy、Ant Media Server、SSL 憑證更新流程等。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
25
CLAUDE.md
Normal file
25
CLAUDE.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## 概述
|
||||
|
||||
此目錄為伺服器 `106.105.181.40`(SSH 別名: `hospital_media`)的運維筆記,主要記錄 Ant Media Server 的部署與操作資訊。
|
||||
|
||||
## 伺服器操作
|
||||
|
||||
Ant Media Server 以 Docker 容器方式運行於 `/opt/antmedia`:
|
||||
|
||||
- **建構映像**: `bash build.sh`
|
||||
- **啟動容器**: `bash run.sh`
|
||||
- **停止容器**: `bash stop.sh`
|
||||
- **進入容器**: `bash shell.sh`
|
||||
- **從容器提取資料快照**: `bash init/init.sh`
|
||||
|
||||
## 重要注意事項
|
||||
|
||||
- 容器**無持久化 Volume**,所有資料存於容器內部,刪除容器即遺失資料
|
||||
- `data/` 目錄是透過 `init/init.sh` 從容器 tar 出來的快照,非即時同步的 bind mount
|
||||
- 容器以 `--privileged` + `--network host` 模式運行
|
||||
- 目前版本為 Ant Media Server Enterprise 2.13.2(Docker image: `antmediaserver:2.13.2`)
|
||||
- 歷史版本資料備份於 `data.243/`(v2.4.3)和 `data.290/`(v2.9.0)
|
||||
Reference in New Issue
Block a user