docker-compose-local-dev-full.yml
Rama main · réplica de lectura del repositorio original.
# This compose definition does not build Laminar images, it is intended for local development.
# This file is meant to be used with running the Laminar services manually from each service's directory.
# Refer to CONTRIBUTING.md for more information on how to run the services locally.
name: lmnr
services:
rabbitmq:
image: rabbitmq
pull_policy: always
ports:
- "5672:5672"
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS}
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 7s
timeout: 5s
retries: 3
clickhouse:
image: clickhouse/clickhouse-server:26.5
pull_policy: always
container_name: clickhouse
ports:
- "8123:8123"
volumes:
- type: volume
source: clickhouse-data
target: /var/lib/clickhouse/
- type: volume
source: clickhouse-logs
target: /var/log/clickhouse-server/
- type: bind
source: ./clickhouse-profiles-config.xml
target: /etc/clickhouse-server/users.d/lmnr.xml
- type: bind
source: ./clickhouse-server-config.xml
target: /etc/clickhouse-server/config.d/lmnr.xml
environment:
CLICKHOUSE_USER: ${CLICKHOUSE_USER}
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD}
cap_add:
- SYS_NICE
- NET_ADMIN
- IPC_LOCK
ulimits:
nofile:
soft: 262144
hard: 262144
postgres:
image: postgres:16
pull_policy: always
ports:
- "5433:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
healthcheck:
test:
["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"]
interval: 2s
timeout: 5s
retries: 5
valkey:
image: valkey/valkey:9.1
pull_policy: always
ports:
- "6379:6379"
volumes:
- valkey-data:/data
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
quickwit:
image: quickwit/quickwit:v0.9.1
pull_policy: always
ports:
- "7280:7280" # REST API and UI
- "7281:7281" # OTLP / gRPC
environment:
QW_DATA_DIR: /quickwit/qwdata
command: ["run"]
volumes:
- quickwit-data:/quickwit/qwdata
volumes:
clickhouse-data:
clickhouse-logs:
postgres-data:
quickwit-data:
valkey-data: