Accedere alla dashboard di Portabase
- Apri nel browser:
http://<SERVER_IP> - Registrati e crea il tuo account.
- Il primo account creato diventa amministratore.
File e directory importanti
- Percorso di installazione:
/opt/portabase-dashboard - File Compose:
/opt/portabase-dashboard/docker-compose.yml - File di ambiente:
/opt/portabase-dashboard/.env - Configurazione Nginx:
/etc/nginx/sites-available/portabase - Volume PostgreSQL:
postgres-data - Volume dell'applicazione:
portabase-data
Gestione dello 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
Abilitare SSL con un dominio
1. Punta il tuo dominio all'IP del server.
2. Modifica il /opt/portabase-dashboard/.env file per impostare il nome di dominio: PROJECT_URL=https://yourdomain.com
# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com
3. Riavvia lo stack:
cd /opt/portabase-dashboard
docker compose down
docker compose up -d
4. Modifica le configurazioni Nginx e sostituisci server_name <SERVER_IP>; con il tuo dominio (server_name yourdomain.com;):
vim /etc/nginx/sites-available/portabase
5. Installa Certbot:
apt install -y certbot python3-certbot-nginx
6. Genera il certificato SSL:
certbot --nginx -d yourdomain.com
7. Riavvia Nginx:
systemctl restart nginx
8. Apri il browser e visita: https://yourdomain.com