Roo-Code/docker-compose.yml
John Richmond 6a65576136
Add support for local clickhouse in docker (#48)
Caveats / Deficiencies

This is not a perfect match for the server clickhouse config since we're
using MergeTree() as the engine. It seemed like it was going to be much
more complex to exactly match production, but I may have missed something
obvious.

The create tables sql only seems to be run on a completely fresh install.
2025-05-29 16:49:59 -07:00

26 lines
789 B
YAML

services:
postgres:
container_name: postgres
image: postgres:15.4
ports:
- 5432:5432
volumes:
- ./.docker/postgres:/var/lib/postgresql/data
- ./.docker/scripts/postgres:/docker-entrypoint-initdb.d
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DATABASES=roo_code_development,roo_code_test
clickhouse:
image: clickhouse/clickhouse-server
ports:
- "8123:8123"
- "9000:9000"
volumes:
- ./.docker/clickhouse:/var/lib/clickhouse/
- ./.docker/clickhouse-logs:/var/log/clickhouse-server/
- ./.docker/scripts/clickhouse:/docker-entrypoint-initdb.d
environment:
- CLICKHOUSE_DB=default
- CLICKHOUSE_USER=default
- CLICKHOUSE_PASSWORD=password