[Unit]
Description=KCG Vessel Analysis (FastAPI)
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/home/apps/kcg-prediction
ExecStart=/home/apps/kcg-prediction/venv/bin/uvicorn main:app --host 0.0.0.0 --port 8001
EnvironmentFile=/home/apps/kcg-prediction/.env
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
