Accéder au tableau de bord Portabase
- Ouvrir dans le navigateur :
http://<SERVER_IP> - Inscrivez-vous et créez votre compte.
- Le premier compte créé devient administrateur.
Fichiers et répertoires importants
- Chemin d'installation :
/opt/portabase-dashboard - Fichier Compose :
/opt/portabase-dashboard/docker-compose.yml - Fichier d'environnement :
/opt/portabase-dashboard/.env - Configuration Nginx :
/etc/nginx/sites-available/portabase - Volume PostgreSQL :
postgres-data - Volume de l'application :
portabase-data
Gestion de la 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
Activer SSL avec un domaine
1. Faites pointer votre domaine vers l'IP du serveur.
2. Modifiez le fichier /opt/portabase-dashboard/.env pour définir votre nom de domaine : PROJECT_URL=https://yourdomain.com
# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com
3. Redémarrez la stack :
cd /opt/portabase-dashboard
docker compose down
docker compose up -d
4. Modifiez les configurations Nginx et remplacez server_name <SERVER_IP>; avec votre domaine (server_name yourdomain.com;):
vim /etc/nginx/sites-available/portabase
5. Installez Certbot :
apt install -y certbot python3-certbot-nginx
6. Générez le certificat SSL :
certbot --nginx -d yourdomain.com
7. Redémarrez Nginx :
systemctl restart nginx
8. Ouvrez votre navigateur et accédez à : https://yourdomain.com