媒体下载器,支持多平台视频/音频下载
aliuq/cobalt创建 docker-compose.yml 文件
name: cobalt
services:
cobalt-api:
image: ghcr.io/imputnet/cobalt:11.0.1
restart: always
container_name: cobalt-api
ports:
- 9000:9000
environment:
- API_URL=http://localhost:9000
cobalt-web:
image: aliuq/cobalt:latest
restart: always
container_name: cobalt-web
ports:
- 8080:80
environment:
- BASE_API=http://localhost:9000
运行服务:
docker-compose up -d
| 变量名 | 默认值 | 说明 |
|---|---|---|
BASE_API | https://api.cobalt.tools | Cobalt API 服务地址 |
# 克隆仓库
git clone https://github.com/aliuq/apps-image.git
cd apps-image/apps/cobalt
# 构建镜像
docker buildx build -f ./Dockerfile -t cobalt:local --load .
# 以开发模式运行(显示构建日志)
docker buildx build --progress=plain -f ./Dockerfile -t cobalt:debug --load .
📝 该文档由 AI 辅助生成并整理,如有问题请随时反馈
Content type
Image
Digest
sha256:e8982a3c0…
Size
55.3 MB
Last updated
5 months ago
docker pull aliuq/cobalt