-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpuppet.yml
31 lines (30 loc) · 888 Bytes
/
puppet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '3.7'
services:
puppet:
stop_grace_period: 5s
deploy:
resources:
limits:
memory: 1024M
cpus: '1.00'
replicas: 1
update_config:
parallelism: 1
failure_action: rollback
image: droidwiki/puppetserver
healthcheck:
# For some reason, puppetserver never goes from satrting to running
disable: true
environment:
- PUPPETSERVER_HOSTNAME=puppet
- DNS_ALT_NAMES=puppet
- CA_ENABLED=true
- AUTOSIGN=true
- USE_PUPPETDB=false
ports:
- "8140:8140"
volumes:
- /data/ha_volume/puppet/code/:/etc/puppetlabs/code/
- /data/ha_volume/puppet/puppet/hiera.yaml:/etc/puppetlabs/puppet/hiera.yaml
- /data/ha_volume/puppet/puppet/secure/:/etc/puppetlabs/puppet/secure/
- /data/ha_volume/puppet/puppet/puppet.conf:/etc/puppetlabs/puppet/puppet.conf