Skip to main content

Environment Variables

PutmeIn reads runtime variables across Ray (web console) and Brain (AI orchestration daemon).


Core Variables

VariableDefaultDescriptionRequired
DATABASE_URLConnection string for MySQL / MariaDB (e.g. mysql://user:pass@host:3306/db).Yes
JWT_SECRETauto-fallbackSecret key for signing and verifying user authentication sessions.Recommended
RAY_PORT4567Port used by the Ray web console in daemon mode (3000 in dev).Optional
BRAIN_PORT4500Port used by the Brain AI engine API (3100 in dev).Optional
BRAIN_INTERNAL_SECRETauto-generatedCryptographic token for secure Ray ↔ Brain inter-service RPC.Optional
AGENT_AUTONOMOUSfalseEnable or disable autonomous DevOps action mode.Optional

Database Connection String

For MySQL 8.0+ databases, PutmeIn supports standard URI schemas:

DATABASE_URL="mysql://root:[email protected]:3306/putmein?allowPublicKeyRetrieval=true"
Connection Resilience

When connecting to MySQL instances where the public key retrieval handshake is required, append ?allowPublicKeyRetrieval=true to the URL.