Files
stats/docker-compose.yml
Carl-Gerhard Lindesvärd da59622dce fix: overall perf improvements
* fix: ignore private ips

* fix: performance related fixes

* fix: simply event buffer

* fix: default to 1 events queue shard

* add: cleanup scripts

* fix: comments

* fix comments

* fix

* fix: groupmq

* wip

* fix: sync cachable

* remove cluster names and add it behind env flag (if someone want to scale)

* fix

* wip

* better logger

* remove reqid and user agent

* fix lock

* remove wait_for_async_insert
2025-11-15 22:13:59 +01:00

54 lines
1.4 KiB
YAML

version: "3"
services:
op-db:
image: postgres:14-alpine
restart: always
volumes:
- ./docker/data/op-db-data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
op-df:
image: docker.dragonflydb.io/dragonflydb/dragonfly:latest
container_name: op-df
restart: always
ports:
- "6380:6379"
ulimits:
memlock: -1
nofile: 65535
command:
- "--cluster_mode=emulated"
- "--lock_on_hashtags"
op-kv:
image: redis:7.2.5-alpine
restart: always
volumes:
- ./docker/data/op-kv-data:/data
command: ["redis-server", "--maxmemory-policy", "noeviction"]
ports:
- 6379:6379
op-ch:
image: clickhouse/clickhouse-server:24.12.2.29-alpine
restart: always
volumes:
- ./docker/data/op-ch-data:/var/lib/clickhouse
- ./docker/data/op-ch-logs:/var/log/clickhouse-server
- ./self-hosting/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/op-config.xml
- ./self-hosting/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/op-user-config.xml
- ./self-hosting/clickhouse/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh:ro
ulimits:
nofile:
soft: 262144
hard: 262144
ports:
- "8123:8123" # HTTP interface
- "9000:9000" # Native/TCP interface
- "9009:9009" # Inter-server communication