Initial commit

This commit is contained in:
tanexc
2026-06-12 23:53:39 +03:00
commit 67fd2bc5ac
32 changed files with 1107 additions and 0 deletions
@@ -0,0 +1,4 @@
API_KEYS=replace-with-generated-key-1,replace-with-generated-key-2
MODELS_DIR=/opt/model-update-server/storage/models
TMP_DIR=/opt/model-update-server/tmp
DATABASE_URL=sqlite:////opt/model-update-server/db/app.db
@@ -0,0 +1,14 @@
[Unit]
Description=Model Update Server
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/model-update-server
EnvironmentFile=/etc/model-update-server/model-update-server.env
ExecStart=/opt/model-update-server/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target