test server

This commit is contained in:
2025-09-22 15:07:35 +05:00
commit a8f09eb4ea
11 changed files with 1843 additions and 0 deletions

20
ai-server-webui.service Normal file
View File

@@ -0,0 +1,20 @@
[Unit]
Description=AI Server Web UI
Requires=docker.service ollama.service
After=docker.service ollama.service
StartLimitIntervalSec=0
[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/opt/ai-server
ExecStart=/usr/bin/docker compose up -d
ExecStop=/usr/bin/docker compose down
ExecReload=/usr/bin/docker compose restart
TimeoutStartSec=300
TimeoutStopSec=120
User=root
Group=root
[Install]
WantedBy=multi-user.target