mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
## Testing - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added Docker Compose configuration to deploy Percona PMM v2 monitoring: includes server and client services, persistent storage for monitoring data, network connectivity across environments, and secure agent-to-server communication setup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
37 lines
849 B
YAML
37 lines
849 B
YAML
services:
|
|
pmm-server:
|
|
image: percona/pmm-server:2
|
|
container_name: pmm-server
|
|
ports:
|
|
- "127.0.0.1:80:80"
|
|
- "127.0.0.1:443:443"
|
|
volumes:
|
|
- pmm-server-data:/srv
|
|
restart: unless-stopped
|
|
|
|
pmm-client:
|
|
image: percona/pmm-client:2
|
|
container_name: pmm-client
|
|
depends_on:
|
|
- pmm-server
|
|
networks:
|
|
- default
|
|
- fleet_default
|
|
environment:
|
|
PMM_AGENT_SERVER_ADDRESS: pmm-server:443
|
|
PMM_AGENT_SERVER_INSECURE_TLS: "1"
|
|
PMM_AGENT_SERVER_USERNAME: admin
|
|
PMM_AGENT_SERVER_PASSWORD: admin
|
|
PMM_AGENT_SETUP: "1"
|
|
PMM_AGENT_CONFIG_FILE: /usr/local/percona/pmm2/pmm-agent.yaml
|
|
volumes:
|
|
- pmm-client-data:/usr/local/percona/pmm2
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
pmm-server-data:
|
|
pmm-client-data:
|
|
|
|
networks:
|
|
fleet_default:
|
|
external: true
|