- Elimina todos los Dockerfiles y docker-compose.yml
- Elimina scripts Docker (start_docker, reset_and_deploy, deploy-clean)
- Agrega deploy/debian/ con despliegue nativo via systemd:
- install.sh: instalacion completa en Debian (PostgreSQL, Redis,
Qdrant binario, Go, Python venv, nginx, frontend compilado)
- build.sh: recompila binarios Go y frontend sin reinstalar
- env.example: variables de entorno sin referencias Docker
- nginx.conf: sirve React estatico + proxy al API Go en localhost
- systemd/*.service: 16 servicios (8 Go + 7 Python + Qdrant)
Todos los hostnames Docker (db, redis, qdrant) reemplazados por 127.0.0.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
575 B
Desktop File
26 lines
575 B
Desktop File
[Unit]
|
|
Description=RSS2 Translation Scheduler (Python)
|
|
After=network.target postgresql.service
|
|
Requires=postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=rss2
|
|
Group=rss2
|
|
WorkingDirectory=/opt/rss2/src
|
|
EnvironmentFile=/opt/rss2/.env
|
|
Environment=TARGET_LANGS=es
|
|
Environment=SCHEDULER_BATCH=1000
|
|
Environment=SCHEDULER_SLEEP=30
|
|
ExecStart=/opt/rss2/venv/bin/python -m workers.translation_scheduler
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=rss2-translation-scheduler
|
|
|
|
MemoryMax=256M
|
|
CPUQuota=50%
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|