-
Notifications
You must be signed in to change notification settings - Fork 6
/
crane.yaml
56 lines (50 loc) · 1.47 KB
/
crane.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
containers:
puppetdb:
image: iverberk/puppetdb:packer
run:
dns: ["172.17.42.1", "8.8.8.8", "8.8.4.4"]
detach: true
volumes-from: ["puppetdb_datastore"]
publish: ["8080:8080"]
expose: ["8081"]
cmd: ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
hostname: puppetdb.localdomain
puppetdb_datastore:
image: iverberk/puppetdb:packer
run:
volume: ["/var/lib/pgsql/data"]
cmd: ["true"]
detach: true
foreman:
image: iverberk/foreman:packer
run:
dns: ["172.17.42.1", "8.8.8.8", "8.8.4.4"]
volumes-from: ["foreman_datastore"]
publish: ["443:443"]
cmd: ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
hostname: foreman.localdomain
detach: true
foreman_datastore:
image: iverberk/foreman:packer
run:
volume: ["/var/lib/pgsql/data"]
cmd: ["true"]
detach: true
puppetmaster:
image: iverberk/puppetmaster:packer
run:
dns: ["172.17.42.1", "8.8.8.8", "8.8.4.4"]
volume: ["./environments:/etc/puppet/environments", "./hiera:/etc/puppet/hiera"]
volumes-from: ["puppetmaster_datastore"]
cmd: ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
detach: true
hostname: puppetmaster.localdomain
expose: ["8443"]
publish: ["8140:8140"]
puppetmaster_datastore:
image: iverberk/puppetmaster:packer
run:
volume: ["/var/lib/puppet/ssl"]
cmd: ["true"]
detach: true