Skip to main content

Deploying Challenges

Now that deploybot is properly setup, we need to test that it is behaving correctly and connect CTFd to it.

Testing Deploybot

Configuring CTFd

Config Variables

  1. Set the following variables in config.ini in CTFd

    DEPLOY_USER = local
    DEPLOY_SERVER = http://<deploybot-IP>:8000
  2. Add an application_target challenge to CTFd. For example the following is a simple application specification that can be used to test.

    version: "3.9"
    services:
    nginx:
    image: nginx
    ports:
    - 80
  3. Attempt to deploy the challenge application