Initial commit: SYNC_API project

This commit is contained in:
2025-11-06 09:50:10 -07:00
commit 733ef04eeb
42 changed files with 2380 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
@echo off
echo ==============================================
echo API FASTAPI - SERVIDOR PRODUCCION HTTPS
echo ==============================================
echo.
echo Iniciando servidor con SSL...
echo URL: https://104.192.7.152:9000
echo URL: https://cpanel-a24.aduanasoft.com:9000
echo Docs: https://cpanel-a24.aduanasoft.com:9000/docs
echo.
REM Configurar variables para producción con SSL
set API_HOST=0.0.0.0
set API_PORT=9000
set DEBUG_MODE=False
set LOG_LEVEL=INFO
echo Usando certificados SSL...
echo Certificado: ssl/certificate.crt
echo Llave: ssl/private.key
echo.
REM Ejecutar con SSL usando los certificados de XAMPP
python -m uvicorn main:app --host 0.0.0.0 --port 9000 --ssl-keyfile=ssl/private.key --ssl-certfile=ssl/certificate.crt --workers 1
pause