forked from mcgarrigle/docker-puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 836 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 836 Bytes
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
version: '2'
services:
puppetmaster:
build: puppetmaster-image
container_name: puppetmaster
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./root:/root
- ./environments:/etc/puppetlabs/code/environments
networks:
- lan
ports:
- 8140:8140
puppetagent_1:
build: puppetagent-image
container_name: puppetagent_1
hostname: puppetagent_one
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
networks:
- lan
ports:
- 8081:8081
- 8123:8123
- 5000:5000
- 18443:18443
puppetagent_2:
build: puppetagent-image
container_name: puppetagent_2
hostname: puppetagent_two
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
networks:
- lan
networks:
lan: