-
Notifications
You must be signed in to change notification settings - Fork 80
Add docker compose deployment handler #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've been doing something similar with custom deployment handlers in ctfcli plugins, so I don't have to fork ctfcli. This compose to k8s plugin looks for a compose file without needing any extra fields in |
Nice! I've made a super simple update to the ssh deployer that rsyncs the entire folder over and runs compose up on the remote host. Also, I totally snagged your github actions workflow over here: https://github.com/pl4nty/auto-CTFd/blob/main/.github/workflows/challenges.yml for our upcoming CTF. It's awesome, thank you! |
sweet, I'm glad it's useful! is there anything I could do to improve that repo? might start sharing it later this year, I've run a few CTFs with it and other organisers are starting to use it too |
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 likessh-compose
? Or would you prefer an entirely new deployment handler?I envision this process as follows:
docker compose up -d
in the target directory. Let docker handle all the building/deploying on the remote server.The text was updated successfully, but these errors were encountered: