DRACO v1: book-forged code oracle — RAG over 500+ books, REST API, MCP, BTCPay, full agent SEO kit

This commit is contained in:
drjones
2026-10-01 17:25:05 -07:00
commit e5d85a912e
13 changed files with 1604 additions and 0 deletions

14
deploy/draco.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=DRACO — Book-Forged Code Oracle
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/draco
ExecStart=/opt/draco/venv/bin/gunicorn -w 2 --threads 8 -b 127.0.0.1:8012 --timeout 300 app:app
Restart=always
RestartSec=5
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target

17
deploy/nginx-draco.conf Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 80;
server_name draco.thetempleofdoom.com _;
access_log /var/log/nginx/draco.access.log;
error_log /var/log/nginx/draco.error.log;
location / {
proxy_pass http://127.0.0.1:8012;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header CF-Connecting-IP $http_cf_connecting_ip;
proxy_buffering off; # SSE
proxy_cache off;
proxy_read_timeout 300s;
}
}