-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (68 loc) · 1.61 KB
/
docker-compose.yml
File metadata and controls
73 lines (68 loc) · 1.61 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
62
63
64
65
66
67
68
69
70
71
72
73
services:
ubuntu_node:
build: .
container_name: ubuntu_node
ports:
- "20022:22"
depends_on:
openvoxserver:
condition: service_healthy
puppet_8_node:
build:
context: .
args:
PUPPET_COLLECTION: openvox8
container_name: puppet_8_node
ports:
- "20024:22"
depends_on:
openvoxserver:
condition: service_healthy
puppet_7_node:
build:
context: .
args:
PUPPET_COLLECTION: openvox7
container_name: puppet_7_node
ports:
- "20025:22"
depends_on:
openvoxserver:
condition: service_healthy
postgres:
image: docker.io/postgres:17-alpine
hostname: postgres
environment:
POSTGRES_DB: openvoxdb
POSTGRES_USER: openvoxdb
POSTGRES_PASSWORD: openvoxdb
volumes:
- ./fixtures/puppetdb/custom_source:/docker-entrypoint-initdb.d
restart: always
healthcheck:
test: ["CMD-SHELL", "sh -c 'pg_isready -U openvoxdb -d openvoxdb'"]
interval: 10s
timeout: 3s
retries: 3
openvoxdb:
image: ghcr.io/openvoxproject/openvoxdb:latest
hostname: pdb
environment:
CERTNAME: pdb
restart: always
depends_on:
openvoxserver:
condition: service_healthy
ports:
- "18081:8081"
openvoxserver:
image: ghcr.io/openvoxproject/openvoxserver:latest
hostname: puppet
environment:
OPENVOXSERVER_HOSTNAME: puppet
restart: always
volumes:
- ./fixtures/modules:/etc/puppetlabs/code/modules
- ./fixtures/bolt_server/projects:/etc/puppetlabs/code/projects
ports:
- 8140:8140