d3chat Deployment
Source of truth: d3chat/docs/deployment.md
Docker (Recommended)
git clone https://github.com/your-org/d3chat.gitcd d3chatcp .env.example .env# Edit .env with your settingsdocker compose up -dKey environment variables
DATABASE_URLREDIS_URLSECRET_KEYSERVER_DOMAINCORS_ORIGINSVITE_API_URLVITE_WS_URL
Production checklist
- Set a strong
SECRET_KEY. - Set
SERVER_DOMAINto your public domain. - Use HTTPS with a reverse proxy or tunnel.
- Configure
CORS_ORIGINScorrectly. - Use managed or external PostgreSQL and Redis for reliability.
- Enable automated backups.
Development (No Docker)
Prerequisites:
- Python 3.12+
- Node.js 20+
- PostgreSQL 16
- Redis 7
Run backend and frontend separately after installing dependencies and applying migrations.