Docker
Quick Start
Section titled “Quick Start”docker run -d --name particledb \ -p 5432:5432 \ -p 8080:8080 \ -p 9090:9090 \ -p 6379:6379 \ -v particledb-data:/data \ particledb/particledbDocker Compose
Section titled “Docker Compose”For production or development, use Docker Compose with all protocols exposed:
version: '3.8'services: particledb: image: particledb/particledb:latest ports: - "5432:5432" # PostgreSQL wire protocol - "8080:8080" # HTTP dashboard + health checks - "9090:9090" # Prometheus metrics - "6379:6379" # Redis-compatible RESP - "26257:26257" # gRPC (inter-node / admin) volumes: - particledb-data:/data environment: - PDB_AUTH_METHOD=trust # or password, md5 - PDB_WAL_SYNC_MODE=groupsync # sync, groupsync, nosync healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health/ready"] interval: 10s timeout: 5s retries: 3
volumes: particledb-data:Save as docker-compose.yml and run:
docker compose up -dVerify
Section titled “Verify”# Check healthcurl http://localhost:8080/health/ready
# Connect with psqlpsql -h localhost -p 5432
# View metricscurl http://localhost:9090/metricsPorts Reference
Section titled “Ports Reference”| Port | Protocol | Purpose |
|---|---|---|
| 5432 | PostgreSQL wire | Primary SQL access. Connect with any PG client. |
| 8080 | HTTP | Dashboard, REST API, health probes (/health/live, /health/ready) |
| 9090 | HTTP | Prometheus metrics endpoint |
| 6379 | Redis RESP | Key-value cache operations |
| 26257 | gRPC | Inter-node communication, admin API |