-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy path.env.example
More file actions
125 lines (90 loc) · 4.16 KB
/
Copy path.env.example
File metadata and controls
125 lines (90 loc) · 4.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Milady runtime environment example
# Copy to .env or ~/.eliza/.env as needed.
# ----------------------------------------------------------------------------
# Model provider API keys (at least one required)
# ----------------------------------------------------------------------------
# Anthropic (recommended — Claude models)
ANTHROPIC_API_KEY=
# OpenAI (GPT-4o, o1, Codex)
OPENAI_API_KEY=
# Google Gemini
GOOGLE_GENERATIVE_AI_API_KEY=
# Gemini aliases (optional). Runtime maps these to GOOGLE_GENERATIVE_AI_API_KEY
# if canonical key is unset.
GOOGLE_API_KEY=
GEMINI_API_KEY=
# Groq (fast inference)
GROQ_API_KEY=
# OpenRouter (100+ models, one API)
OPENROUTER_API_KEY=
# xAI (Grok)
XAI_API_KEY=
# DeepSeek
DEEPSEEK_API_KEY=
# ----------------------------------------------------------------------------
# Runtime configuration
# ----------------------------------------------------------------------------
# Log level: debug | info | warn | error
LOG_LEVEL=info
# Server ports (defaults shown)
# MILADY_PORT=2138 # Dashboard UI
# MILADY_API_PORT=31337 # API + WebSocket (dev only; shares MILADY_PORT in prod)
# MILADY_HOME_PORT=2142 # Home dashboard
# MILADY_GATEWAY_PORT=18789 # Gateway
# Bind address (default: 127.0.0.1 — set to 0.0.0.0 for network access)
# MILADY_API_BIND=127.0.0.1
# API auth token (REQUIRED when MILADY_API_BIND is not loopback)
# MILADY_API_TOKEN=
# CORS origins (comma-separated, only needed for remote/cloud deployments)
# MILADY_ALLOWED_ORIGINS=https://app.milady.ai
# Config file override (default: ~/.local/state/milady/milady.json)
# MILADY_CONFIG_PATH=
# MILADY_STATE_DIR=
# ----------------------------------------------------------------------------
# Worktree / multi-instance isolation
# ----------------------------------------------------------------------------
# When running multiple worktrees simultaneously, each needs unique ports
# and a separate state directory. Run: bash scripts/worktree-env.sh <slot>
# This generates .env.worktree with offset ports and isolated state dir.
# MILADY_STATE_DIR=~/.local/state/milady-wt-1
# ----------------------------------------------------------------------------
# Development flags
# ----------------------------------------------------------------------------
# Skip local Eliza workspace linking (use npm-published @elizaos/* packages)
# ELIZA_SKIP_LOCAL_ELIZA=1
# Force rebuild of Eliza packages on every build
# ELIZA_FORCE_BUILD=1
# Dev server log level override
# ELIZA_DEV_LOG_LEVEL=debug
# ----------------------------------------------------------------------------
# GitHub / coding-agent credentials
# ----------------------------------------------------------------------------
# GitHub PAT for repo access, PR creation, and gh operations in agents.
GITHUB_TOKEN=
# ----------------------------------------------------------------------------
# Defense of the Agents (game app)
# ----------------------------------------------------------------------------
# API base URL (defaults to the public dev server)
# DEFENSE_OF_THE_AGENTS_API_URL=https://wc2-agentic-dev-3o6un.ondigitalocean.app
# API key (auto-registered on first launch if not set)
# DEFENSE_OF_THE_AGENTS_API_KEY=
# Agent name in-game (defaults to character name or "Milady")
# DEFENSE_OF_THE_AGENTS_AGENT_NAME=
# Preferred game lobby ID (defaults to 1)
# DEFENSE_OF_THE_AGENTS_GAME_ID=1
# Default hero class: melee, ranged, or mage (default: mage)
# DEFENSE_OF_THE_AGENTS_DEFAULT_HERO_CLASS=mage
# Default lane: top, mid, or bot (default: mid)
# DEFENSE_OF_THE_AGENTS_DEFAULT_LANE=mid
# ----------------------------------------------------------------------------
# Babylon (prediction market game)
# ----------------------------------------------------------------------------
# Babylon API URL (defaults to staging.babylon.market, set to http://localhost:3000 for local dev)
# BABYLON_API_URL=http://localhost:3000
# Babylon client URL for the embedded viewer (defaults to BABYLON_API_URL)
# BABYLON_CLIENT_URL=http://localhost:3000
# Agent credentials (required for Babylon integration)
# BABYLON_AGENT_ID=
# BABYLON_AGENT_SECRET=
# A2A protocol API key (optional, for agent-to-agent communication)
# BABYLON_A2A_API_KEY=