feat(server): add Dockerfile, docker-compose, and systemd service templates for deployment

This commit is contained in:
shen
2026-10-27 03:11:36 -07:00
parent ef56202777
commit 9dba51c844
4 changed files with 50 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=AeroTrack LAN Multi-device Sync Server
After=network.target
[Service]
Type=simple
User=root
# 请将 WorkingDirectory 改为服务器上实际的 server 目录路径
WorkingDirectory=/opt/AeroTrack/server
ExecStart=/usr/bin/python3 /opt/AeroTrack/server/server.py 8090
Restart=always
RestartSec=3
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target