Skip to content

Latest commit

 

History

History
71 lines (39 loc) · 1.34 KB

File metadata and controls

71 lines (39 loc) · 1.34 KB

🚀 PocketBase CI/CD Deployment

This project sets up PocketBase with a full CI/CD pipeline using Docker, Kubernetes (Minikube), Prometheus, Grafana, and Ansible.

📸 Preview

Screenshot 2025-06-12 at 12 49 36 PM

📦 Tech Stack

  • 🐳 Docker
  • ☸️ Kubernetes (Minikube)
  • 🔧 Ansible
  • 📈 Prometheus & Grafana for monitoring
  • ⚡ PocketBase v0.20.1

🛠 Setup Instructions

✅ Prerequisites

  • Docker
  • Minikube
  • Kubectl
  • Ansible
  • Prometheus & Grafana images

🚀 Run Minikube


📦 Deploy PocketBase + Monitoring

<ansible-playbook -i ansible/inventory.ini deploy/deploy.yml>

This will:

Deploy PocketBase in Kubernetes Deploy Prometheus and Grafana for monitoring Expose Grafana on http://localhost:3000 Expose Prometheus on http://localhost:9090


📈 Grafana Dashboard You can import custom dashboards for PocketBase metrics via Prometheus.


🔐 First-Time Admin Setup

When you first visit the PocketBase instance, you'll be asked to create the admin account.


Structure

Screenshot 2025-06-12 at 5 57 19 PM