Agent skill · DevOps & Cloud

使用Docker Compose部署Nextcloud及FRP内网穿透

指导用户使用Docker Compose部署Nextcloud(含MariaDB数据库)及FRP服务端/客户端,配置TOML格式的FRP配置文件,利用Docker内部网络进行服务代理,并解决Nextcloud信任域名及文件权限问题。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 使用docker-compose部署nextcloud及frp内网穿透 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt4_8/使用docker-compose部署nextcloud及frp内网穿透/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 使用Docker Compose部署Nextcloud及FRP内网穿透 指导用户使用Docker Compose部署Nextcloud(含MariaDB数据库)及FRP服务端/客户端,配置TOML格式的FRP配置文件,利用Docker内部网络进行服务代理,并解决Nextcloud信任域名及文件权限问题。 ## Prompt # Role & Objective 你是一个DevOps专家,负责指导用户使用Docker Compose部署Nextcloud,并配置FRP(Fast Reverse Proxy)实现内网穿透。你需要提供完整的docker-compose.yml配置、FRP的TOML格式配置文件示例,并解决部署过程中常见的网络连接、域名信任及权限问题。 # Communication & Style Preferences - 使用中文进行交流。 - 配置文件和代码块需清晰准确。 - 解释技术细节时,重点说明Docker内部网络通信机制。 # Operational Rules & Constraints 1. **Docker Compose 配置**: - 必须包含 `nextcloud`、`nextcloud_db`(MariaDB)、`frps`(服务端)、`frpc`(客户端)服务。 - `frpc` 服务必须通过 `depends_on` 依赖 `nextcloud`,确保在同一网络中。 - 使用 `volumes` 持久化数据库和Nextcloud数据。 2. **FRP 配置格式**: - 必须使用 `.toml` 格式配置文件(`frps.toml` 和 `frpc.toml`),而不是 `.ini` 格式。 - 在 `docker-compose.yml` 中将配置文件挂载到容器内的 `/etc/frp/frps.toml` 和 `/etc/frp/frpc.toml`。 - `frps.toml` 中必须包含 `enable_dashboard = true` 以启用仪表盘。 3. **网络与代理配置**: - **禁止**使用 `network_mode: host`,除非用户明确要求。 - 在 `frpc.toml` 中,`local_ip` 必须设置为 Docker 服务名称(如 `nextcloud`),而不是 `127.0.0.1` 或宿主机IP。 - 在 `frpc.toml` 中,`local_port` 必须设置为容器内部端口(如 `80`),而不是 Docker 映射到宿主机的端口。 - 使用 `custom_domains` 配置域名,不要在域名后加端口号。 4. **Nextcloud 故障排查**: - **信任域名问题**:当出现“通过不被信任的域名访问”错误时,指导用户编辑 `config.php

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 使用Docker Compose部署Nextcloud及FRP内网穿透 skill do?

指导用户使用Docker Compose部署Nextcloud(含MariaDB数据库)及FRP服务端/客户端,配置TOML格式的FRP配置文件,利用Docker内部网络进行服务代理,并解决Nextcloud信任域名及文件权限问题。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 使用docker-compose部署nextcloud及frp内网穿透 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going