.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
SECRET_KEY
secret
Session signing key (change in production)
DATABASE_URL
secret
Database connection string
CTF_MODE
CTF mode: enables flag display on challenge solve
CTF_KEY
secret
HMAC secret for deterministic flag generation
LLM_PROVIDER
LLM provider: mock | openai | anthropic | ollama
OPENAI_API_KEY
secret
Only needed if LLM_PROVIDER=openai
ANTHROPIC_API_KEY
secret
Only needed if LLM_PROVIDER=anthropic
OLLAMA_BASE_URL
Only needed if LLM_PROVIDER=ollama Use http://localhost:11434 when running locally (not in Docker) Use http://host.docker.internal:11434…
OLLAMA_MODEL
Fine-tuned BroBot models are planned for a later release. Use any Ollama model you have pulled locally, mock is default.
SQL_ECHO
Print raw SQL to stdout (learning aid)
UNSAFE_CHALLENGES
Enable RCE/deserialization challenges (disabled by default for safety)
DEFAULT_DIFFICULTY
Global default difficulty tier: intern | junior | senior | tech_lead
brew install flyctl && fly launch --from https://github.com/0xsv1/dvs
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/0xsv1/dvs
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/0xsv1/dvs