Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.2 KB

File metadata and controls

36 lines (21 loc) · 1.2 KB

CTFd Docker Image for Importing Plugins and Themes via Environment Variables

This repository provides a Docker image for CTFd, a Capture The Flag (CTF) platform, which allows you to import plugins and themes into CTFd using environment variables.

Features

  • Based on the official CTFd image.
  • Easily import CTFd plugins and themes via environment variables during container creation.

Usage Plugins

Add environment that starts with GIT_PLUGINS_ and ends with plugin name. Value should be <git-url>,<folder-name>.

GIT_PLUGINS_CTFdPluginuniquetoken: "https://github.com/puckk/CTFd-Plugin-unique-token.git,CTFd-Plugin-unique-token"
GIT_PLUGINS_docker: "https://github.com/mateodurante/CTFd-Docker-Challenges.git,docker_challenges"

You can check docker-compose.yml for example.

Usage Themes

Add environment that starts with GIT_THEMES_ and ends with theme name. Value should be <git-url>,<folder-name>.

GIT_THEMES_pixo: "https://github.com/hmrserver/CTFd-theme-pixo.git,pixo"
GIT_THEMES_odin: "https://github.com/0xdevsachin/CTFD-odin-theme.git,odin"

You can check docker-compose.yml for example.

Image

https://hub.docker.com/r/certunlp/ctfd/tags