26 lines
626 B
Plaintext
26 lines
626 B
Plaintext
|
|
# Agent Diary - 环境变量配置示例
|
|||
|
|
# 复制此文件为 .env 并修改相应值
|
|||
|
|
|
|||
|
|
# 工作区基础路径
|
|||
|
|
WORKSPACE_BASE=/home/node/.openclaw/workspace
|
|||
|
|
|
|||
|
|
# 数据库配置
|
|||
|
|
DATABASE_URL=postgresql://agent_user:agent2026@localhost:5432/agent_diary_db
|
|||
|
|
# SQLite 备用配置
|
|||
|
|
# DATABASE_URL=sqlite:///db.sqlite3
|
|||
|
|
|
|||
|
|
# Django 配置
|
|||
|
|
SECRET_KEY=your-secret-key-here
|
|||
|
|
DEBUG=True
|
|||
|
|
ALLOWED_HOSTS=localhost,127.0.0.1
|
|||
|
|
|
|||
|
|
# 前端配置
|
|||
|
|
FRONTEND_URL=http://localhost:3000
|
|||
|
|
BACKEND_URL=http://localhost:8000
|
|||
|
|
|
|||
|
|
# PostgreSQL 配置(Docker 用)
|
|||
|
|
POSTGRES_DB=agent_diary_db
|
|||
|
|
POSTGRES_USER=agent_user
|
|||
|
|
POSTGRES_PASSWORD=agent2026
|
|||
|
|
POSTGRES_PORT=5432
|