Portabase 대시보드 접속
- 브라우저에서 열기:
http://<SERVER_IP> - 가입하고 계정을 만드세요.
- 처음 생성된 계정이 관리자가 됩니다.
중요한 파일 및 디렉토리
- 설치 경로:
/opt/portabase-dashboard - Compose 파일:
/opt/portabase-dashboard/docker-compose.yml - 환경 파일:
/opt/portabase-dashboard/.env - Nginx 설정:
/etc/nginx/sites-available/portabase - PostgreSQL 볼륨:
postgres-data - 애플리케이션 볼륨:
portabase-data
스택 관리
# 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
도메인으로 SSL 활성화
1. 도메인을 서버 IP로 지정하세요.
2. 편집 /opt/portabase-dashboard/.env 도메인 이름을 설정하는 파일: PROJECT_URL=https://yourdomain.com
# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com
3. 스택 재시작:
cd /opt/portabase-dashboard
docker compose down
docker compose up -d
4. Nginx 설정 파일을 열고 다음을 교체합니다 server_name <SERVER_IP>; 도메인으로 (server_name yourdomain.com;):
vim /etc/nginx/sites-available/portabase
5. Certbot 설치:
apt install -y certbot python3-certbot-nginx
6. SSL 인증서 생성:
certbot --nginx -d yourdomain.com
7. Nginx 재시작:
systemctl restart nginx
8. 브라우저를 열고 다음 주소로 접속하세요. https://yourdomain.com