-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose-clickhouse.yml
60 lines (56 loc) · 2.05 KB
/
docker-compose-clickhouse.yml
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
---
version: '3.7'
services:
pmm-server-external-clickhouse:
image: ${PMM_SERVER_IMAGE:-perconalab/pmm-server:dev-latest}
container_name: pmm-server-external-clickhouse
depends_on:
- external-clickhouse
ports:
- '8081:80'
- '8444:443'
environment:
- PMM_DEBUG=1
- PERCONA_TEST_SAAS_HOST=check-dev.percona.com:443
- PERCONA_TEST_CHECKS_PUBLIC_KEY=RWTg+ZmCCjt7O8eWeAmTLAqW+1ozUbpRSKSwNTmO+exlS5KEIPYWuYdX
- PERCONA_TEST_VERSION_SERVICE_URL=https://check-dev.percona.com/versions/v1
- PERCONA_TEST_TELEMETRY_INTERVAL=10s
- PERCONA_TEST_TELEMETRY_RETRY_BACKOFF=10s
- PERCONA_TEST_PMM_CLICKHOUSE_ADDR=external-clickhouse:9000
- PERCONA_TEST_PMM_CLICKHOUSE_DATASOURCE_ADDR=external-clickhouse:8123
- PERCONA_TEST_PMM_CLICKHOUSE_DATABASE=pmm
- PERCONA_TEST_PMM_CLICKHOUSE_POOL_SIZE=1
- PERCONA_TEST_PMM_CLICKHOUSE_BLOCK_SIZE=65000
pmm-client:
image: perconalab/pmm-client:dev-latest
container_name: pmm-client-clickhouse
depends_on:
pmm-server-external-clickhouse:
condition: service_healthy
environment:
- PMM_AGENT_SETUP=1
- PMM_AGENT_SERVER_ADDRESS=pmm-server-external-clickhouse
- PMM_AGENT_SERVER_USERNAME=admin
- PMM_AGENT_SERVER_PASSWORD=admin
- PMM_AGENT_PORTS_MIN=41000
- PMM_AGENT_PORTS_MAX=41500
- PMM_AGENT_SERVER_INSECURE_TLS=1
- PMM_AGENT_CONFIG_FILE=config/pmm-agent.yaml
- PMM_AGENT_SETUP_NODE_NAME=pmm-client-clickhouse-container
- PMM_AGENT_SETUP_FORCE=1
- PMM_AGENT_SETUP_NODE_TYPE=container
restart: on-failure
mysql5.7:
platform: linux/x86_64
container_name: mysql5.7
image: percona:5.7.30
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: 7B*53@lCdflR
external-clickhouse:
platform: linux/x86_64
image: clickhouse/clickhouse-server:22.5.2
container_name: external-clickhouse
healthcheck:
test: ['CMD', 'wget', '--spider', '-q', 'localhost:8123/ping']