Diagnóstico y fix SQL Server: SERVERNAME, TDS_Version, Puerto explicitos
This commit is contained in:
14
deploy/dashboard-leads-backend.service
Normal file
14
deploy/dashboard-leads-backend.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Dashboard Leads Backend Service (FastAPI)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=ubuntu
|
||||
WorkingDirectory=/var/www/dashboard-leads/backend
|
||||
ExecStart=/var/www/dashboard-leads/backend/venv/bin/uvicorn main:app --host 127.0.0.1 --port 8001 --workers 2
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
EnvironmentFile=/var/www/dashboard-leads/backend/.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user