File tree Expand file tree Collapse file tree 2 files changed +48
-6
lines changed
Expand file tree Collapse file tree 2 files changed +48
-6
lines changed Original file line number Diff line number Diff line change @@ -77,14 +77,16 @@ POSTHOG_PROJECT_KEY=
7777# DEPOT_TOKEN=<Depot org token>
7878# DEV_OTEL_EXPORTER_OTLP_ENDPOINT="http://0.0.0.0:4318"
7979# These are needed for the object store (for handling large payloads/outputs)
80- # Default provider (backward compatible - no protocol prefix)
81- # OBJECT_STORE_BASE_URL="https://{bucket}.{accountId}.r2.cloudflarestorage.com"
82- # OBJECT_STORE_ACCESS_KEY_ID=
83- # OBJECT_STORE_SECRET_ACCESS_KEY=
84- # OBJECT_STORE_REGION=auto
80+ #
81+ # Default provider
82+ # OBJECT_STORE_BASE_URL=http://localhost:9005
83+ # OBJECT_STORE_BUCKET=packets
84+ # OBJECT_STORE_ACCESS_KEY_ID=minioadmin
85+ # OBJECT_STORE_SECRET_ACCESS_KEY=minioadmin
86+ # OBJECT_STORE_REGION=us-east-1
8587# OBJECT_STORE_SERVICE=s3
86- # OBJECT_STORE_DEFAULT_PROTOCOL=s3 # Optional: protocol to use for new uploads (e.g., "s3", "r2")
8788#
89+ # OBJECT_STORE_DEFAULT_PROTOCOL=s3 # Only specify this if you're going to migrate object storage and set protocol values below
8890# Named providers (protocol-prefixed data) - optional for multi-provider support
8991# OBJECT_STORE_S3_BASE_URL=https://s3.amazonaws.com
9092# OBJECT_STORE_S3_ACCESS_KEY_ID=
Original file line number Diff line number Diff line change 44 database-data :
55 database-data-alt :
66 redis-data :
7+ minio-data :
78 clickhouse-data :
89 clickhouse-logs :
910 prometheus-data :
@@ -49,6 +50,45 @@ services:
4950 ports :
5051 - 6379:6379
5152
53+ # S3-compatible API for local object store (large payloads / packet offload).
54+ # Host :9005 = S3 API, :9006 = web console (ClickHouse uses host :9000).
55+ minio :
56+ container_name : minio
57+ image : minio/minio:latest
58+ restart : always
59+ command : server /data --console-address ":9001"
60+ environment :
61+ MINIO_ROOT_USER : minioadmin
62+ MINIO_ROOT_PASSWORD : minioadmin
63+ volumes :
64+ - minio-data:/data
65+ ports :
66+ - " 9005:9000"
67+ - " 9006:9001"
68+ networks :
69+ - app_network
70+ healthcheck :
71+ test : ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
72+ interval : 5s
73+ timeout : 5s
74+ retries : 5
75+ start_period : 5s
76+
77+ minio-init :
78+ image : minio/mc:latest
79+ depends_on :
80+ minio :
81+ condition : service_healthy
82+ networks :
83+ - app_network
84+ entrypoint : /bin/sh
85+ command :
86+ - -c
87+ - |
88+ mc alias set local http://minio:9000 minioadmin minioadmin
89+ mc mb -p local/packets || true
90+ restart : " no"
91+
5292 electric :
5393 container_name : electric
5494 image : electricsql/electric:1.2.4@sha256:20da3d0b0e74926c5623392db67fd56698b9e374c4aeb6cb5cadeb8fea171c36
You can’t perform that action at this time.
0 commit comments