This repo will let you run CTFs on Ubuntu 20.04. You will also be able to run CTFd as a secure (HTTPS) site.
-
Run the
docker_ubuntu.sh
script in this repo:sudo ./docker_ubuntu.sh
-
Run the
docker_compose_ubuntu.sh
script in this repo:sudo ./docker_compose_ubuntu.sh
-
To generate your Public-Private Key Pair, run the
generate_crt.sh
script in this repo:sudo ./generate_crt.sh
-
Edit the
hostname
line in thedocker-compose-production.yml
file to match the hostname you have defined to point to your server. For example, if your server name ismyctf.com
, then change thehostname
line in thedocker-compose-production.yml
file tomyctf.com
.
In the terminal, run sudo docker-compose -f docker-compose.yml -f docker-compose-production.yml up
.
- CTFd by CTFd
- HTTPS by Josh Grossman