Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

WolvSec/CTFd-Docker-Compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTFd-Docker-Compose

CTFd infra with Docker Compose

Setup

Docker

Make sure you have Docker and Docker Compose set up on your server.

ENV

mv env.example .env

Then configure database details in .env with your preferred text editor

Caddy (Reverse Proxy)

Note: this can be replaced with NGINX or Apache, I'm using Caddy here just for convenience.

  1. Make sure everything is working properly (use command in Launch part) with default configuration (You may need to point ctfd.test to your server in hosts on your local machine for testing)
  2. Change ctfd.test:80 in Caddyfile to the actual domain to be used, Do not include port number to allow HTTPS traffic

Launch 🚀

docker-compose up -d

And you are all set 🎉! Allow a few minutes for Caddy to configure Let's Encrypt automatically, then your CTFd server should go live on the domain specified.

About

CTFd infra with Docker Compose

Resources

Stars

Watchers

Forks