-
Notifications
You must be signed in to change notification settings - Fork 374
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (59 loc) · 1.82 KB
/
docker-compose.yml
File metadata and controls
63 lines (59 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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-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:26.1.3.52
restart: always
volumes:
- ./docker/data/op-ch-data:/var/lib/clickhouse
- ./docker/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/op-config.xml
- ./docker/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/op-user-config.xml
- ./docker/clickhouse/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh:ro
environment:
CLICKHOUSE_DB: openpanel
CLICKHOUSE_SKIP_USER_SETUP: 1
ulimits:
nofile:
soft: 262144
hard: 262144
ports:
- "8123:8123" # HTTP interface
- "9000:9000" # Native/TCP interface
- "9009:9009" # Inter-server communication
op-rp:
image: redpandadata/redpanda:v25.1.4
restart: always
command:
- redpanda
- start
- --kafka-addr=internal://0.0.0.0:9092,external://0.0.0.0:19092
- --advertise-kafka-addr=internal://op-rp:9092,external://localhost:19092
- --rpc-addr=0.0.0.0:33145
- --advertise-rpc-addr=op-rp:33145
- --smp=1
- --memory=1G
- --mode=dev-container
- --default-log-level=info
volumes:
- ./docker/data/op-rp-data:/var/lib/redpanda/data
- ./docker/redpanda/bootstrap.yaml:/etc/redpanda/.bootstrap.yaml:ro
ports:
- "19092:19092" # Kafka API (external)
- "9644:9644" # Admin API