CTFd / CTFd/ctfcli

Add docker compose deployment handler

Open
#175 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
95
Avg merge
2h 17m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.