Přístup k dashboardu Portabase
- Otevři v prohlížeči:
http://<SERVER_IP> - Zaregistrujte se a vytvořte si účet.
- První vytvořený účet se stane správcem.
Důležité soubory a adresáře
- Cesta instalace:
/opt/portabase-dashboard - Soubor Compose:
/opt/portabase-dashboard/docker-compose.yml - Soubor prostředí:
/opt/portabase-dashboard/.env - Konfigurace Nginx:
/etc/nginx/sites-available/portabase - Svazek PostgreSQL:
postgres-data - Svazek aplikace:
portabase-data
Správa stacku
# 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
Povolení SSL s doménou
1. Nasměruj svou doménu na IP serveru.
2. Upravit /opt/portabase-dashboard/.env souboru nastavte název své domény: PROJECT_URL=https://yourdomain.com
# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com
3. Restartujte stack:
cd /opt/portabase-dashboard
docker compose down
docker compose up -d
4. Upravte konfigurace Nginx a nahraďte server_name <SERVER_IP>; se svou doménou (server_name yourdomain.com;):
vim /etc/nginx/sites-available/portabase
5. Nainstalujte Certbot:
apt install -y certbot python3-certbot-nginx
6. Vygenerujte SSL certifikát:
certbot --nginx -d yourdomain.com
7. Restartujte Nginx:
systemctl restart nginx
8. Otevřete prohlížeč a přejděte na: https://yourdomain.com