Skip to content

Commit

Permalink
PMM3 psmdb agent ports fix (#72)
Browse files Browse the repository at this point in the history
* Updates for PSMDB SSL setup port fix
  • Loading branch information
saikumar-vs authored Jul 17, 2024
1 parent cd45f4c commit f74b18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pmm_psmdb_diffauth_setup/docker-compose-pmm-psmdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ services:
- PMM_AGENT_SERVER_USERNAME=admin
- PMM_AGENT_SERVER_PASSWORD=admin
- PMM_AGENT_SERVER_ADDRESS=pmm-server:8443
- PMM_AGENT_PORTS_MIN=43000
- PMM_AGENT_PORTS_MAX=43020
entrypoint:
- bash
- -c
Expand All @@ -48,7 +50,7 @@ services:
- 'psmdb-server-data:/data/db'
privileged: true
ports:
- "42000-42020:42000-42020"
- "43000-43020:43000-43020"
healthcheck:
test: |
test $$(mongo --quiet --eval "try { rs.initiate().ok } catch (_) {} rs.status().ok") -eq 1
Expand Down
1 change: 1 addition & 0 deletions pmm_psmdb_diffauth_setup/test-auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ cat pki/private/pmm-test.key pki/issued/pmm-test.crt > certs/client.pem
find certs -type f -exec chmod 644 {} \;

#Start setup
docker-compose -f docker-compose-pmm-psmdb.yml down -v --remove-orphans
docker-compose -f docker-compose-pmm-psmdb.yml build
docker-compose -f docker-compose-pmm-psmdb.yml up -d

Expand Down

0 comments on commit f74b18a

Please sign in to comment.