forked from voxpupuli/crafty
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
61 lines (57 loc) · 1.44 KB
/
Copy pathcompose.yaml
File metadata and controls
61 lines (57 loc) · 1.44 KB
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
57
58
59
60
61
---
services:
puppet:
image: ghcr.io/voxpupuli/puppetserver:8.6.1-latest
pull_policy: always
hostname: puppet
environment:
PUPPETSERVER_HOSTNAME: puppet
PUPPETSERVER_PORT: 8140
PUPPETDB_HOSTNAME: puppetdb
PUPPETDB_SSL_PORT: 8081
USE_PUPPETDB: true
AUTOSIGN: true
restart: always
ports:
- 8140:8140
puppetdb:
image: ghcr.io/voxpupuli/puppetdb:8.7.0-latest
pull_policy: always
hostname: puppetdb
environment:
USE_PUPPETSERVER: true
PUPPETSERVER_HOSTNAME: puppet
PUPPETSERVER_PORT: 8140
PUPPETDB_SSL_PORT: 8081
PUPPETDB_POSTGRES_HOSTNAME: postgres
PUPPETDB_POSTGRES_PORT: 5432
PUPPETDB_PASSWORD: puppetdb
PUPPETDB_USER: puppetdb
restart: always
postgres:
image: docker.io/postgres:16-alpine
pull_policy: always
hostname: postgres
environment:
POSTGRES_DB: puppetdb
POSTGRES_USER: puppetdb
POSTGRES_PASSWORD: puppetdb
healthcheck:
test: ["CMD-SHELL", "sh -c 'pg_isready -U puppetdb -d puppetdb'"]
interval: 10s
timeout: 3s
retries: 3
volumes:
- ./postgresql_init:/docker-entrypoint-initdb.d
restart: always
puppet-agent:
image: techsk8/puppetagent-debian12:latest
pull_policy: always
hostname: puppet-agent
privileged: true
volumes:
- /sys/fs/cgroup/:/sys/fs/cgroup:ro
restart: always
networks:
default:
name: crafty-minimal