Renombrar FlotillasGPS a ADAN en todo el proyecto

This commit is contained in:
FlotillasGPS Developer
2026-01-21 08:26:01 +00:00
parent 51d78bacf4
commit 6d24ad6f61
37 changed files with 350 additions and 345 deletions

View File

@@ -1,6 +1,6 @@
[Unit]
Description=Sistema de Flotillas - API Backend
Documentation=https://github.com/tuorganizacion/flotillas
Description=Sistema de ADAN - API Backend
Documentation=https://github.com/tuorganizacion/adan
After=network.target postgresql.service redis.service
Wants=postgresql.service redis.service
@@ -8,14 +8,14 @@ Wants=postgresql.service redis.service
Type=exec
User=root
Group=root
WorkingDirectory=/opt/flotillas/backend
WorkingDirectory=/opt/adan/backend
# Cargar variables de entorno
EnvironmentFile=/opt/flotillas/.env
EnvironmentFile=/opt/adan/.env
# Comando de inicio
# Uvicorn con multiples workers para produccion
ExecStart=/opt/flotillas/backend/venv/bin/uvicorn \
ExecStart=/opt/adan/backend/venv/bin/uvicorn \
app.main:app \
--host 0.0.0.0 \
--port 8000 \
@@ -44,12 +44,12 @@ NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/flotillas /var/log/flotillas /tmp
ReadWritePaths=/opt/adan /var/log/adan /tmp
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=flotillas-api
SyslogIdentifier=adan-api
# Health check (systemd 253+)
# WatchdogSec=30

View File

@@ -1,17 +1,17 @@
[Unit]
Description=Sistema de Flotillas - Frontend Web
Documentation=https://github.com/tuorganizacion/flotillas
After=network.target flotillas-api.service
Wants=flotillas-api.service
Description=Sistema de ADAN - Frontend Web
Documentation=https://github.com/tuorganizacion/adan
After=network.target adan-api.service
Wants=adan-api.service
[Service]
Type=exec
User=root
Group=root
WorkingDirectory=/opt/flotillas/frontend
WorkingDirectory=/opt/adan/frontend
# Cargar variables de entorno
EnvironmentFile=/opt/flotillas/.env
EnvironmentFile=/opt/adan/.env
# Comando de inicio usando 'serve' para servir archivos estaticos
# Opcion 1: Usando serve (recomendado para SPA React/Vue)
@@ -22,7 +22,7 @@ ExecStart=/usr/bin/serve \
--single
# Opcion 2: Si usas Next.js en modo standalone
# ExecStart=/usr/bin/node /opt/flotillas/frontend/.next/standalone/server.js
# ExecStart=/usr/bin/node /opt/adan/frontend/.next/standalone/server.js
# Opcion 3: Si prefieres usar Node directamente
# ExecStart=/usr/bin/npx serve -s dist -l 3000
@@ -47,12 +47,12 @@ NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/flotillas
ReadWritePaths=/opt/adan
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=flotillas-web
SyslogIdentifier=adan-web
[Install]
WantedBy=multi-user.target

View File

@@ -1,5 +1,5 @@
[Unit]
Description=Cloudflare Tunnel - Sistema de Flotillas
Description=Cloudflare Tunnel - Sistema de ADAN
Documentation=https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
After=network-online.target
Wants=network-online.target
@@ -20,7 +20,7 @@ ExecStart=/usr/local/bin/cloudflared tunnel --no-autoupdate run --token ${CLOUDF
# ExecStart=/usr/local/bin/cloudflared tunnel --config /etc/cloudflared/config.yml run
# Cargar variables de entorno
EnvironmentFile=/opt/flotillas/.env
EnvironmentFile=/opt/adan/.env
# Reinicio automatico
Restart=always