-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose-disconnect.yml
63 lines (59 loc) · 1.63 KB
/
docker-compose-disconnect.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
61
62
63
---
version: '3.7'
networks:
server-network:
driver: bridge
ipam:
config:
- subnet: 192.140.0.0/16
gateway: 192.140.0.1
mysql-network:
driver: bridge
ipam:
config:
- subnet: 192.150.0.0/16
gateway: 192.150.0.1
services:
pmm-server-disconnect:
image: ${PMM_SERVER_IMAGE:-perconalab/pmm-server:dev-latest}
container_name: pmm-server-disconnect
ports:
- '8180:80'
- '8143:443'
environment:
- PMM_DEBUG=1
- PERCONA_TEST_SAAS_HOST=check-dev.percona.com:443
- PERCONA_TEST_CHECKS_PUBLIC_KEY=RWTg+ZmCCjt7O8eWeAmTLAqW+1ozUbpRSKSwNTmO+exlS5KEIPYWuYdX
networks:
- server-network
pmm-client:
image: perconalab/pmm-client:dev-latest
container_name: pmm-client-disconnect
depends_on:
pmm-server-disconnect:
condition: service_healthy
environment:
- PMM_AGENT_SETUP=1
- PMM_AGENT_SERVER_ADDRESS=pmm-server-disconnect
- 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-agent-disconnect
- PMM_AGENT_SETUP_FORCE=1
- PMM_AGENT_SETUP_NODE_TYPE=container
restart: on-failure
networks:
- server-network
- mysql-network
ps8:
container_name: ps8
image: percona:8.0
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: 7B*53@lCdflR
networks:
- mysql-network