Files
aitbc/apps/marketplace-service/marketplace-service.service
aitbc e15477dc55 Create marketplace-service foundation
- Created marketplace-service application structure
- Added pyproject.toml with FastAPI, SQLModel, asyncpg, and aitbc-core dependencies
- Implemented main.py with basic marketplace service structure
- Created systemd service file for marketplace-service (port 8102)
- Added README.md with installation and configuration instructions

This starts Phase 4.4: Extract Marketplace Service (foundation created)
2026-04-30 11:26:46 +02:00

18 lines
565 B
Desktop File

[Unit]
Description=AITBC Marketplace Service
After=network.target postgresql.service
[Service]
Type=simple
User=aitbc
WorkingDirectory=/opt/aitbc/apps/marketplace-service
Environment="PATH=/opt/aitbc/venv/bin"
Environment="PYTHONPATH=/opt/aitbc/packages/py/aitbc-core/src:/opt/aitbc/apps/marketplace-service/src:/opt/aitbc"
Environment="DATABASE_URL=postgresql+asyncpg://aitbc_marketplace:password@localhost:5432/aitbc_marketplace"
ExecStart=/opt/aitbc/venv/bin/python -m marketplace_service.main
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target