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
Events
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 }}
RoxyAsahi
VCPToolBox
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
VCPToolBox
/
docker-compose.yml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
34 lines (32 loc) · 1.6 KB
main
Breadcrumbs
VCPToolBox
/
docker-compose.yml
Copy path
Top
File metadata and controls
Code
Blame
34 lines (32 loc) · 1.6 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
25
26
27
28
29
30
31
32
33
34
services:
app:
build: .
container_name: vcptoolbox
ports:
- "6005:6005"
environment:
TZ: Asia/Shanghai
volumes:
#1 将本地的 config.env 映射到容器中
#1- ./config.env:/usr/src/app/config.env
# 将插件的配置文件和数据目录映射进去
# 注意: 如果插件的 config.env 文件不存在于宿主机,Docker 卷映射可能会创建目录而不是文件。
# 确保这些文件在启动容器前在宿主机上存在,或者调整为映射整个插件目录(如果插件设计允许)。
# 为了简单起见,这里假设目标是映射特定文件和已知数据目录。
#######
#
#为了docker desktop用户不用频繁构建镜像,依然推荐采取全挂载的方式
#
#######
#0 插件特定配置和数据示例 (根据 .dockerignore 和已知插件调整)
#0- ./Plugin/WeatherReporter/city_cache.txt:/usr/src/app/Plugin/WeatherReporter/city_cache.txt
#0- ./Plugin/VCPLog/log:/usr/src/app/Plugin/VCPLog/log
#0 - ./Plugin/ImageProcessor/cache:/usr/src/app/Plugin/ImageProcessor/cache # 假设的缓存目录
#0- ./dailynote:/usr/src/app/dailynote
#0- ./image:/usr/src/app/image # 映射整个 image 目录,包括 fluxgen 等子目录
- .:/usr/src/app
# 保持 node_modules 独立于容器,避免本地开发环境的 node_modules 覆盖容器内的。添加pydeps兼容科学计算器依赖。
- /usr/src/app/pydeps
- /usr/src/app/node_modules
# The command is defined in the Dockerfile's CMD instruction.
restart: unless-stopped
You can’t perform that action at this time.