Skip to content

dohack-me/orchestrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orchestrator

A Python FastAPI server to automatically deploy containers.

Website containers are proxied via a Traefik instance. Socket containers are directly exposed.

Environment Variables

  • BASE_URL - The FQDN which website instances can be accessed from.
    • Up to 1 * can be included, which will be replaced by the first segment of the instance's UUID.
  • SECRET_KEY - Clients will need to have the header Authorization: <SECRET_KEY> to interact with the app.
  • DATABASE_PATH - The relative path to the app's SQLite database.
  • INSTANCE_LIFETIME - The amount of seconds each instance will last for.
  • INSTANCE_HTTPS - If set to true, will add HTTPS support for website instances.
  • PUBLIC_HOST - The hostname to use when returning the netcat command endpoint for socket instances.
  • NETWORK_NAME - The docker network name website instance containers will be a part of.
  • AUTHENTICATE - If set to true, the app will authenticate to a docker registry on startup.
    • REGISTRY - The FQDN of the registry to connect to.
    • REGISTRY_USERNAME - The username to use to connect to the registry.
    • REGISTRY_PASSWORD - The password to use to connect to the registry.

About

Backend service deployment for dohack.me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors