Skip to content

Instantly share code, notes, and snippets.

@raphink
Created November 16, 2018 07:50
Show Gist options
  • Save raphink/9fe8befc1aad2e6d6814660e9558a788 to your computer and use it in GitHub Desktop.
Save raphink/9fe8befc1aad2e6d6814660e9558a788 to your computer and use it in GitHub Desktop.
version: "3.1"
services:
puppet:
build: .
image: camptocamp/puppetserver:arbitrary_user
hostname: puppet.camptocamp.com
user: "12345678"
volumes:
- ./code:/etc/puppetlabs/code:ro
- puppetca:/etc/puppetlabs/puppet/ssl/ca:rw
- ./configmaps/auth.conf:/etc/puppetlabs/puppetserver/conf.d/auth.conf:ro
- ./configmaps/csr_attributes.yaml:/etc/puppetlabs/puppet/csr_attributes.yaml:ro
- ./configmaps/puppet.conf:/etc/puppetlabs/puppet/puppet.conf:ro
#- ./configmaps/routes.yaml:/etc/puppetlabs/puppet/routes.yaml:ro
secrets:
- ca_key.pem
- ca_crt.pem
- ca_crl.pem
- gpg.asc
- autosign_psk
secrets:
ca_key.pem:
file: secrets/ca_key.pem
ca_crt.pem:
file: secrets/ca_crt.pem
ca_crl.pem:
file: secrets/ca_crl.pem
gpg.asc:
file: secrets/gpg.asc
autosign_psk:
file: secrets/autosign_psk
volumes:
puppetca:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment