Setup inicial: Ubuntu 24.04, Docker, Coolify, Gitea
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Setup inicial del servidor (2026-06-28)
|
||||
|
||||
## 1. Instalación del SO
|
||||
Servidor recibido en Rescue System. Instalado Ubuntu 24.04 vía `installimage`:
|
||||
- RAID1 software sobre 2× NVMe 512 GB Samsung
|
||||
- 8 GB swap + 1 GB /boot + resto en /
|
||||
|
||||
## 2. Configuración base
|
||||
```bash
|
||||
apt-get install curl git ufw fail2ban unattended-upgrades
|
||||
```
|
||||
|
||||
**UFW:** puertos abiertos: 22 (SSH), 80 (HTTP), 443 (HTTPS)
|
||||
**fail2ban:** activo con configuración por defecto
|
||||
**Usuario:** `rafa` con sudo sin password, clave SSH `claude-code@feadulta`
|
||||
|
||||
## 3. Docker CE
|
||||
Instalado desde el repositorio oficial de Docker:
|
||||
- Docker 29.6.1
|
||||
- Docker Compose v5.2.0
|
||||
|
||||
## 4. Coolify
|
||||
Panel de gestión instalado vía script oficial:
|
||||
```bash
|
||||
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
|
||||
```
|
||||
- Versión: 4.1.2
|
||||
- Panel: http://188.40.120.157:8000
|
||||
- Reverse proxy: Traefik (gestionado por Coolify)
|
||||
- SSL: Let's Encrypt automático vía Traefik
|
||||
|
||||
## 5. Gitea
|
||||
Desplegado desde Coolify (plantilla Gitea + PostgreSQL).
|
||||
- Dominio: gitea.feadulta.com
|
||||
- SSH clone: puerto 22222
|
||||
Reference in New Issue
Block a user