x-redis-cluster-common-env: &redis-cluster-common-env
REDIS_PASSWORD: bitnami
Loading actions...
Skill content
Main instructions and any bundled files for this skill.
x-redis-cluster-common-env: &redis-cluster-common-env REDIS_PASSWORD: bitnami REDIS_CLUSTER_DYNAMIC_IPS: "no" REDIS_CLUSTER_ANNOUNCE_IP: 127.0.0.1 REDIS_NODES: 127.0.0.1:6370 127.0.0.1:6371 127.0.0.1:6372 127.0.0.1:6373 127.0.0.1:6374 127.0.0.1:6375
x-redis-cluster-healthcheck: &redis-cluster-healthcheck interval: 1s timeout: 5s retries: 30 start_period: 5s
services: clickhouse: image: docker.io/clickhouse/clickhouse-server:24.3 user: "101:101" environment: CLICKHOUSE_DB: default CLICKHOUSE_USER: ${CLICKHOUSE_USER:-clickhouse} CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-clickhouse} volumes: - langfuse_clickhouse_data:/var/lib/clickhouse - langfuse_clickhouse_logs:/var/log/clickhouse-server ports: - 127.0.0.1:8123:8123 - 127.0.0.1:9000:9000 healthcheck: test: wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1 interval: 5s timeout: 5s retries: 10 start_period: 1s depends_on: - postgres
minio: image: cgr.dev/chainguard/minio entrypoint: sh # create the 'langfuse' bucket before starting the service command: -c 'mkdir -p /data/langfuse && minio server --address ":9000" --console-address ":9001" /data' environment: MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minio} MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-miniosecret} ports: - 127.0.0.1:9090:9000 - 127.0.0.1:9091:9001 volumes: - langfuse_minio_data:/data healthcheck: test: ["CMD", "mc", "ready", "local"] interval: 1s timeout: 5s retries: 5 start_period: 1s
postgres: image: docker.io/postgres:${POSTGRES_VERSION:-17} restart: always healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 3s timeout: 3s retries: 10 command: ["postgres", "-c", "log_statement=all"] environment: - POSTGRES_USER=${POSTGRES_USER:-postgres} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres} - POSTGRES_DB=${POSTGRES_DB:-postgres} - TZ=UTC - PGTZ=UTC ports: - 127.0.0.1:5432:5432 volumes: - langfuse_postgres_data:/var/lib/postgresql/data
Redis Cluster. Requires a Unix host to work for network_mode: host. I.e. tests will fail on windows and mac with this setup.
redis-node-0: image: docker.io/bitnamilegacy/redis-cluster:8.0 network_mode: host volumes: - redis-cluster_data-0:/bitnami/redis/data environment: <<: *redis-cluster-common-env REDIS_PORT_NUMBER: 6370 REDIS_CLUSTER_ANNOUNCE_PORT: 6370 REDIS_CLUSTER_ANNOUNCE_BUS_PORT: 16370 healthcheck: <<: *redis-cluster-healthcheck test: ["CMD-SHELL", "redis-cli -a bitnami -p 6370 cluster info | grep -q 'cluster_state:ok'"]
redis-node-1: image: docker.io/bitnamilegacy/redis-cluster:8.0 network_mode: host volumes: - redis-cluster_data-1:/bitnami/redis/data environment: <<: *redis-cluster-common-env REDIS_PORT_NUMBER: 6371 REDIS_CLUSTER_ANNOUNCE_PORT: 6371 REDIS_CLUSTER_ANNOUNCE_BUS_PORT: 16371 healthcheck: <<: *redis-cluster-healthcheck test: ["CMD-SHELL", "redis-cli -a bitnami -p 6371 cluster info | grep -q 'cluster_state:ok'"]
redis-node-2: image: docker.io/bitnamilegacy/redis-cluster:8.0 network_mode: host volumes: - redis-cluster_data-2:/bitnami/redis/data environment: <<: *redis-cluster-common-env REDIS_PORT_NUMBER: 6372 REDIS_CLUSTER_ANNOUNCE_PORT: 6372 REDIS_CLUSTER_ANNOUNCE_BUS_PORT: 16372 healthcheck: <<: *redis-cluster-healthcheck test: ["CMD-SHELL", "redis-cli -a bitnami -p 6372 cluster info | grep -q 'cluster_state:ok'"]
redis-node-3: image: docker.io/bitnamilegacy/redis-cluster:8.0 network_mode: host volumes: - redis-cluster_data-3:/bitnami/redis/data environment: <<: *redis-cluster-common-env REDIS_PORT_NUMBER: 6373 REDIS_CLUSTER_ANNOUNCE_PORT: 6373 REDIS_CLUSTER_ANNOUNCE_BUS_PORT: 16373 healthcheck: <<: *redis-cluster-healthcheck test: ["CMD-SHELL", "redis-cli -a bitnami -p 6373 cluster info | grep -q 'cluster_state:ok'"]
redis-node-4: image: docker.io/bitnamilegacy/redis-cluster:8.0 network_mode: host volumes: - redis-cluster_data-4:/bitnami/redis/data environment: <<: *redis-cluster-common-env REDIS_PORT_NUMBER: 6374 REDIS_CLUSTER_ANNOUNCE_PORT: 6374 REDIS_CLUSTER_ANNOUNCE_BUS_PORT: 16374 healthcheck: <<: *redis-cluster-healthcheck test: ["CMD-SHELL", "redis-cli -a bitnami -p 6374 cluster info | grep -q 'cluster_state:ok'"]
redis-node-5: image: docker.io/bitnamilegacy/redis-cluster:8.0 network_mode: host volumes: - redis-cluster_data-5:/bitnami/redis/data depends_on: - redis-node-0 - redis-node-1 - redis-node-2 - redis-node-3 - redis-node-4 environment: <<: *redis-cluster-common-env REDISCLI_AUTH: bitnami REDIS_CLUSTER_REPLICAS: 1 REDIS_PORT_NUMBER: 6375 REDIS_CLUSTER_ANNOUNCE_PORT: 6375 REDIS_CLUSTER_ANNOUNCE_BUS_PORT: 16375 REDIS_CLUSTER_CREATOR: yes healthcheck: <<: *redis-cluster-healthcheck test: ["CMD-SHELL", "redis-cli -a bitnami -p 6375 cluster info | grep -q 'cluster_state:ok'"]
volumes: langfuse_postgres_data: driver: local langfuse_clickhouse_data: driver: local langfuse_clickhouse_logs: driver: local langfuse_minio_data: driver: local redis-cluster_data-0: driver: local redis-cluster_data-1: driver: local redis-cluster_data-2: driver: local redis-cluster_data-3: driver: local redis-cluster_data-4: driver: local redis-cluster_data-5: driver: local
Related Skills
Frontend Typescript Linting.mdc
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
2. Apply Deepthink Protocol (reason about dependencies
risks