Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Hommy-master
SceneDetect
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
SceneDetect
/
docker-compose.yaml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
24 lines (24 loc) · 1.32 KB
main
Breadcrumbs
SceneDetect
/
docker-compose.yaml
Copy path
Top
File metadata and controls
Code
Blame
24 lines (24 loc) · 1.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
scenedetect:
image: gogoshine/scenedetect:latest
ports:
- "60001:60000" # 将主机的 60001 端口映射到容器内部的 60000 端口
volumes:
- /opt/1panel/apps/openresty/openresty/www/sites/scene-detect.jcaigc.cn/index/output:/app/output # 挂载配置文件目录
- /etc/localtime:/etc/localtime:ro # 挂载主机时区
- /etc/timezone:/etc/timezone:ro # 挂载时区名称(可选)
environment:
# 用于将容器内部的文件路径转成URL,本质是将/app/替换成DOWNLOAD_URL得到下载路径
- DOWNLOAD_URL=https://scene-detect.jcaigc.cn/
# 腾讯云对象存储,可选配置,如果没有配置,则不启用默认使用本地存储
- COS_SECRET_ID=
- COS_SECRET_KEY=
- COS_BUCKET_NAME=
- COS_REGION=
mem_limit: 4G # 内存限制
memswap_limit: 4G # 总内存(物理内存 + Swap)限制
cpus: '3.5' # CPU使用率限制为150%,即容器最多可以使用1.5个完整的CPU核心
oom_score_adj: -500 # 调整 OOM 杀手优先级
restart: unless-stopped # 除非手动停止,否则总是重启容器
container_name: scenedetect # 这里指容器名称,非必需,不指定时,名称为:<项目名称>-<服务名称>-<序号>
#entrypoint: ["/bin/sh", "-c", "sleep 10000"]
You can’t perform that action at this time.