Getting Started
Prerequisites
- Docker Engine (v24+)
- Docker Compose (v2+)
- Go 1.24+ (optional, for source builds)
Docker Compose Deployment
The provided docker-compose.yml orchestrates the complete service mesh:
Clone Repository
bashgit clone https://github.com/fabriziosalmi/rainlogs.git cd rainlogsInitialize Services
bashdocker compose up -dServices Started:
rainlogs-api: Application serverrainlogs-worker: Background log processorgarage: S3-compatible object storagepostgres: Primary data storeredis: Job queue backendasynqmon: Queue monitoring UI
Status Check
Verify the API health endpoint:
bashcurl http://localhost:8080/health # Expected: {"status":"ok", ...}
Automated Provisioning
RainLogs simplifies initial setup by automatically provisioning the necessary S3 resources. Upon startup:
- The API connects to the Garage management interface.
- Creates required buckets (default:
rainlogs-data). - Generates IAM credentials and stores S3 access keys.
- Updates application configuration dynamically.
No manual S3 configuration is required for the default Garage deployment.
Next Steps
- Review the Architecture documentation.
- Configure External Storage providers.