Skip to content

Commit 4771690

Browse files
authored
Add advanced setup guide and technical architecture
1 parent 62a60a3 commit 4771690

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

docs/SETUP_GUIDE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Advanced Setup & Technical Architecture
2+
3+
## Docker Deployment
4+
### Using Docker Compose
5+
```yaml
6+
services:
7+
bot:
8+
build: .
9+
env_file: .env
10+
restart: always
11+
```
12+
Run with: `docker-compose up -d`
13+
14+
## Database Management
15+
Eigen Bot uses **aiosqlite** for high-performance asynchronous operations.
16+
- `botdata.db`: Main storage for tickets and CodeBuddy.
17+
- `tags.db`: Dedicated tag storage.
18+
- `starboard.db`: Starboard message mapping.
19+
20+
## Security
21+
- **Environment Variables:** Sensitive tokens are never hardcoded.
22+
- **Permission Checks:** Role-based access control (RBAC) ensures only authorized users can use Admin/Staff commands.
23+
- **Sanitization:** All user inputs are sanitized to prevent SQL injection.
24+
25+
[← Back to README](../README.md)

0 commit comments

Comments
 (0)