-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.fixtures.yml
More file actions
21 lines (21 loc) · 1 KB
/
docker-compose.fixtures.yml
File metadata and controls
21 lines (21 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.7'
services:
puppet-agent:
image: puppet/puppet-agent-ubuntu:latest
hostname: puppet-agent
entrypoint: /bin/bash
command: -c "echo 'waiting for orchestration services to be up' &&
while true; sleep 5; do if curl -k --fail --silent https://pe-orchestration-services:8143/status/v1/simple; then break; fi; done &&
puppet config set server puppet &&
puppet agent --certname puppet-agent -t &&
echo 'starting pxp services' &&
pxp-agent --broker-ws-uri wss://pe-orchestration-services:8142/pcp2/
--ssl-ca-cert /etc/puppetlabs/puppet/ssl/certs/ca.pem
--ssl-cert /etc/puppetlabs/puppet/ssl/certs/puppet-agent.pem
--ssl-key /etc/puppetlabs/puppet/ssl/private_keys/puppet-agent.pem
--foreground
--pcp-version 2"
test-sshd:
image: rastasheep/ubuntu-sshd:18.04
expose:
- 22