| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |
dev-host - Auto-generated Docker Compose Template
! Auto-generated: This directory and its contents are automatically generated by
docker/template/. Do not edit these files directly as your changes will be overwritten.
Overview
This Docker Compose configuration provides a complete development environment for Rivet with the following services:
- Rivet Engine: Main orchestration service
- Rivet Shell: Interactive shell for debugging
- Runner: Executes user code
- ClickHouse: Analytics and time-series database
- PostgreSQL: Relational database
- Vector Server: Log aggregation and processing
- OpenTelemetry Collector: Observability data collection
Port Configuration
| Service | Port(s) | Description |
|---|---|---|
| Rivet Engine | 6420 | Public endpoint |
| Runner | 5050 | Code execution service |
| PostgreSQL | 5432 | Database |
| ClickHouse HTTP | 9300 | Database HTTP interface |
| ClickHouse Native | 9301 | Database native protocol |
| OpenTelemetry gRPC | 4317 | OTLP gRPC endpoint |
| OpenTelemetry HTTP | 4318 | OTLP HTTP endpoint |
Template Configuration
Template Name: dev-host
Base Port: 6420
Network Mode: host
Datacenters
- 1: 1 engine(s), 1 runner(s)
Usage
-
Start all services:
docker-compose up -d -
Check service health:
docker-compose ps -
View logs:
docker-compose logs -f [service-name] -
Stop all services:
docker-compose down
Generated Files
This template generates the following files and directories:
docker-compose.yml- Main Docker Compose configurationcore/- Core services shared across datacenters:clickhouse/- ClickHouse configuration and initializationvector-server/- Vector aggregator configurationotel-collector-server/- OpenTelemetry Collector server configuration
datacenters/- Datacenter-specific configurations:1/- Configuration for datacenter 1:postgres/- PostgreSQL setup scriptsrivet-engine/- Rivet Engine configurationvector-client/- Vector client configurationotel-collector-client/- OpenTelemetry Collector client configuration
README.md- This file