Files
aitbc/apps/aitbc-edge/edge-api.service
aitbc 8f3e2dd7ac
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Waiting to run
Production Tests / Production Integration Tests (push) Waiting to run
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Update edge-api systemd service paths, switch to SQLite, add timezone-aware datetimes, and make job payments optional for proof-of-concept
2026-05-27 12:38:19 +02:00

24 lines
786 B
Desktop File

[Unit]
Description=AITBC Edge API Service
After=network.target postgresql.service
[Service]
Type=simple
WorkingDirectory=/opt/aitbc/apps/aitbc-edge
Environment="PATH=/opt/aitbc/venv/bin"
Environment="PYTHONPATH=/opt/aitbc/packages/py/aitbc-core/src:/opt/aitbc/apps/aitbc-edge/src:/opt/aitbc"
Environment="DATABASE_URL=sqlite+aiosqlite:///opt/aitbc/data/edge.db"
Environment="DATA_DIR=/opt/aitbc/data"
Environment="BLOCKCHAIN_RPC_HOST=localhost"
Environment="BLOCKCHAIN_RPC_PORT=8006"
Environment="GPU_SERVICE_HOST=localhost"
Environment="GPU_SERVICE_PORT=8101"
Environment="JWT_SECRET_KEY=CQNLjrtnUVGzdO1skuLsxoiPEEmav2Vj3aA302cvo8I"
Environment="API_PORT=8103"
ExecStart=/opt/aitbc/venv/bin/python -m aitbc_edge.main
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target