Acceso al panel de Portabase
- Abrir en el navegador:
http://<SERVER_IP> - Regístrate y crea tu cuenta.
- La primera cuenta creada se convierte en administrador.
Archivos y directorios importantes
- Ruta de instalación:
/opt/portabase-dashboard - Archivo Compose:
/opt/portabase-dashboard/docker-compose.yml - Archivo de entorno:
/opt/portabase-dashboard/.env - Configuración de Nginx:
/etc/nginx/sites-available/portabase - Volumen de PostgreSQL:
postgres-data - Volumen de la aplicación:
portabase-data
Gestión del stack
# Go to installation directory (where docker-compose.yml is located)
cd /opt/portabase-dashboard
# Show running containers and their status
docker compose ps
# View live logs (useful for debugging issues)
docker compose logs -f
# Restart all services without recreating containers
docker compose restart
# Stop and remove containers (data volumes remain unless explicitly removed)
docker compose down
# Start services in detached mode (background)
docker compose up -d
Habilitar SSL con un dominio
1. Apunta tu dominio a la IP del servidor.
2. Edita el archivo /opt/portabase-dashboard/.env para definir tu nombre de dominio: PROJECT_URL=https://yourdomain.com
# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com
3. Reinicia el stack:
cd /opt/portabase-dashboard
docker compose down
docker compose up -d
4. Edita las configuraciones de Nginx y reemplaza server_name <SERVER_IP>; con tu dominio (server_name yourdomain.com;):
vim /etc/nginx/sites-available/portabase
5. Instala Certbot:
apt install -y certbot python3-certbot-nginx
6. Genera el certificado SSL:
certbot --nginx -d yourdomain.com
7. Reinicia Nginx:
systemctl restart nginx
8. Abre tu navegador y visita: https://yourdomain.com