WechatOnCloud/fnos/woc/app/docker/docker-compose.yaml
Kris e35f1d64cf feat: 初始化项目,添加完整的微信云部署方案与面板实现
包含以下核心内容:
1.  完整的Docker容器化部署方案,支持多架构amd64/arm64
2.  自研Web管理面板,包含登录认证、实例管理、权限控制
3.  微信实例容器镜像,内置中文字体与输入法修复
4.  飞牛OS应用打包适配
5.  完整的文档与运维指南
2026-07-05 03:50:30 +08:00

25 lines
1.0 KiB
YAML
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.

# fnOS 应用中心会直接执行本 compose 来启停应用。
# 与仓库根的 docker-compose.yml 等价:面板为唯一服务,挂 docker.sock 按需创建微信实例。
# 注意:面板需要访问宿主 docker.sock 来动态创建/销毁微信实例容器(等同宿主 root 权限)。
# 因此本应用必须能挂载 /var/run/docker.sock若 fnOS 沙箱禁止,应用将无法新建实例。
services:
panel:
image: ghcr.io/gloridust/woc-panel:${WOC_VERSION:-latest}
container_name: woc-panel
pull_policy: always
environment:
- PORT=8080
- WOC_WECHAT_IMAGE=ghcr.io/gloridust/wechat-on-cloud:${WOC_VERSION:-latest}
- PUID=${WOC_PUID:-1000}
- PGID=${WOC_PGID:-1000}
- TZ=${WOC_TZ:-Asia/Shanghai}
- PANEL_ADMIN_USER=${WOC_USER:-admin}
- PANEL_ADMIN_PASSWORD=${WOC_PASSWORD:-wechat}
- PANEL_DATA=/data/accounts.json
volumes:
- ./data-panel:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "${WOC_HTTP_PORT:-36080}:8080"
restart: unless-stopped