Update documentation: fix env syntax, add bot and MCP services, add ports table
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Naliia Images
|
||||
NALIIA = "gitea.onecluster.org/oneteam/naliia:1.0.0_pro"
|
||||
NALIIA_BOT = "gitea.onecluster.org/oneteam/naliia_bot:v1.0.0_pro"
|
||||
NALIIA_TRYTON_MCP = "gitea.onecluster.org/oneteam/naliia_tryton_mcp:v1.0.0_pro"
|
||||
NALIIA="gitea.onecluster.org/oneteam/naliia:1.0.0_pro"
|
||||
NALIIA_BOT="gitea.onecluster.org/oneteam/naliia_bot:v1.0.0_pro"
|
||||
NALIIA_TRYTON_MCP="gitea.onecluster.org/oneteam/naliia_tryton_mcp:v1.0.0_pro"
|
||||
|
||||
# Tryton
|
||||
EMAIL="admin@admin.org"
|
||||
|
||||
31
README.md
31
README.md
@@ -42,6 +42,14 @@ The application consists of multiple Docker services:
|
||||
┌─────────────┐
|
||||
│ Cron │ Scheduled tasks
|
||||
└─────────────┘
|
||||
|
||||
┌─────────────┐
|
||||
│ Bot │ AI Bot service (Port 8010)
|
||||
└─────────────┘
|
||||
|
||||
┌─────────────┐
|
||||
│tryton_mcp │ Tryton MCP server (Port 3001)
|
||||
└─────────────┘
|
||||
```
|
||||
|
||||
### Services
|
||||
@@ -51,6 +59,8 @@ The application consists of multiple Docker services:
|
||||
- **worker**: Background worker for async tasks
|
||||
- **cron**: Scheduled task runner
|
||||
- **nginx**: Reverse proxy handling external requests
|
||||
- **bot**: AI Bot service with LLM integration
|
||||
- **tryton_mcp**: Tryton MCP server for AI integration
|
||||
|
||||
## Project Structure
|
||||
|
||||
@@ -77,7 +87,9 @@ Copy `.env.example` to `.env` and configure the following variables:
|
||||
|
||||
| Variable | Description | Default |
|
||||
|----------|-------------|---------|
|
||||
| `NALIIA_IMAGE` | Docker image for Tryton | `gitea.onecluster.org/oneteam/naliia:1.0.0_pro` |
|
||||
| `NALIIA` | Docker image for Tryton | `gitea.onecluster.org/oneteam/naliia:1.0.0_pro` |
|
||||
| `NALIIA_BOT` | Docker image for Bot | `gitea.onecluster.org/oneteam/naliia_bot:v1.0.0_pro` |
|
||||
| `NALIIA_TRYTON_MCP` | Docker image for Tryton MCP | `gitea.onecluster.org/oneteam/naliia_tryton_mcp:v1.0.0_pro` |
|
||||
| `DB_HOSTNAME` | Database hostname | `db` |
|
||||
| `POSTGRES_DB` | Database name | `database` |
|
||||
| `POSTGRES_USER` | Database user | `postgres` |
|
||||
@@ -87,8 +99,25 @@ Copy `.env.example` to `.env` and configure the following variables:
|
||||
| `TRYTON_PORT` | Tryton server port | `8000` |
|
||||
| `SERVER_NAME` | Domain name for Nginx | `tryton.domain.com` |
|
||||
| `NGINX_PORT` | Nginx listening port | `10000` |
|
||||
| `DEEPSEEK_API_KEY` | DeepSeek API key for Bot | `sk-...` |
|
||||
| `ANTHROPIC_API_KEY` | Anthropic API key for Bot | `sk-...` |
|
||||
| `LLM_MODEL` | LLM model to use | `deepseek` |
|
||||
| `TRYTON_HOSTNAME` | Tryton hostname for MCP | `tryton` |
|
||||
| `TRYTON_DATABASE` | Tryton database for MCP | `naliia` |
|
||||
| `TRYTON_USERNAME` | Tryton username for MCP | `admin` |
|
||||
| `TRYTON_PASSWORD` | Tryton password for MCP | `S0p0rt3f1n4l*` |
|
||||
| `MCP_PORT` | MCP server port | `3001` |
|
||||
| `SMTP_*` | SMTP configuration for email | See `.env.example` |
|
||||
|
||||
### Ports
|
||||
|
||||
| Service | Port | Description |
|
||||
|---------|------|-------------|
|
||||
| Nginx | 10000 | Reverse proxy (configurable) |
|
||||
| Tryton | 8000 | Tryton server |
|
||||
| Bot | 8010 | AI Bot service |
|
||||
| MCP | 3001 | Tryton MCP server |
|
||||
|
||||
### SMTP Configuration
|
||||
|
||||
Configure SMTP settings for email notifications:
|
||||
|
||||
Reference in New Issue
Block a user