Skip to content

Instantly share code, notes, and snippets.

@mterzo
Created January 25, 2017 21:55
Show Gist options
  • Save mterzo/31f647e3e33188ba7762c7e5a08eb911 to your computer and use it in GitHub Desktop.
Save mterzo/31f647e3e33188ba7762c7e5a08eb911 to your computer and use it in GitHub Desktop.
hire configuration for puppetboard
---
classes:
- docker::run_instance
docker::run_instance::instance:
nginx_proxy:
image: 'wilder/nginx-proxy'
volumes:
- '/etc/ssl/private:/etc/nginx/certs:ro'
- '/var/run/docker.sock:/var/run/docker.sock:ro'
ports:
- 80:80
- 443:443
puppetboard:
image: 'myregistry:mystuff/puppetboard:25'
ports:
- 80
volumes:
- '/etc/puppetlabs/puppetdb/ssl:/certs:ro'
env:
- PUPPETDB_SSL_VERIFY=/certs/ca.pem
- PUPPETDB_KEY=/certs/private.pem
- PUPPETDB_CERT=/certs/public.pem
- PUPPETDB_HOST=puppetdb.localdomain
- PUPPETDB_PORT=8081
- GRAPH_FACTS='architecture, clientversion, datacenter, domain, lsbcodename,
lsbdistcodename, lsbdistid, lsbdistrelease, lsbmajdistrelease, osfamily.
puppetversion, processorcount, role'
- VIRTUAL_HOST=pupppetboard.localdomain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment