Code Monkey home page Code Monkey logo

Comments (1)

netr0m avatar netr0m commented on June 11, 2024

Notes

  • If we decide to go for the hosted versions (as a service, e.g. MySQL and Redis as a service in Azure), we should define Bicep templates to facilitate for automated deployments.

Resources

Tasks (WIP):

  1. Determine approach:
    1. Helm chart:
      1. Use bman46/CTFd-Helm
      2. Override values.yml
        1. Identify values to override (e.g. passwords, etc.)
        2. Create ctfd.yml containing the values to override
        3. Define secret values to override using --set, such as --set redis.auth.password=$REDIS_PASS
    2. Manual in kubernetes:
      1. Configure a database: Set up a SQLAlchemy compatible database (MySQL preferred)
        • CTFd makes use of SQLAlchemy and as such supports a number of SQL databases. The recommended database type is MySQL. CTFd is tested with and has been installed against SQLite, Postgres, and MariaDB.

        • Can be deployed as a service (Azure), or as a pod in the K8s cluster (if we configure persistent storage).
      2. Configure a cache: Set up a Redis server
        • CTFd makes heavy use of caching servers to store configuration values, user sessions, and page content. It is important to deploy CTFd with a caching server. The preferred caching server option is Redis.

        • Can be deployed as a service (Azure), or as a pod in the K8S cluster.
      3. Configure CTFd k8s deployment:
    3. Manual in e.g. Azure Container Instances
  2. Implement spin-up/tear-down functionality in the deployment script:

Requirements

  • NGINX Ingress => CTFd => DB & Cache
  • DNS name & TLS

from nord-juice-shop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.