Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add docker compose deployment handler

未关闭
#175 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

@mew1033 已经在做这个了。

开始于 2025年4月9日。

  • #178 来自 @mew1033 —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
docker-compose, python
领域
cli, devops

调研方向

先阅读现有的 SSH 部署方法以及 image: 背后的处理器选择路径,然后跟踪此处描述的 subprocess、rsync-over-SSH、slugify-d 目录命名和远程 docker compose up -d 步骤。没有指定文件或测试;完成的标准是一个约定好的处理器或选项同步整个 challenge 文件夹,并在远程启动 Compose 部署。

由索引模型根据 Issue 内容生成。

描述

I'd like to use the SSH deploy method, but deploy an entire docker compose file with potentially multiple containers. I can probably start adding this myself, but I want to ask where this would fit. Would you like an additional option in image:? Potentially something like ssh-compose? Or would you prefer an entirely new deployment handler?
I envision this process as follows:

  1. Use subprocess to rsync-over-ssh the entire challenge folder to the remote server. Use the same slugify-d name as the directory name on the remote server.
  2. SSH to the remote server and run docker compose up -d in the target directory. Let docker handle all the building/deploying on the remote server.
主要语言
Python
星标
216
派生
96
平均合并
1 分钟
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CTFd/ctfcli 的其他 Issue

查看 CTFd/ctfcli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。