-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (40 loc) · 1007 Bytes
/
docker-compose.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
32
33
34
35
36
37
38
39
40
version: '3'
services:
puppet:
build:
context: .
dockerfile: Dockerfile.puppet
container_name: puppet
hostname: puppet
image: puppet/puppetserver-standalone-conjur
depends_on: [ conjur ]
volumes:
- ./puppet/manifests:/etc/puppetlabs/code/environments/production/manifests
agent:
image: puppet/puppet-agent-ubuntu
depends_on: [ conjur, puppet ]
volumes:
- ./tmp:/tmp
conjur:
image: cyberark/conjur
command: server -a demo -f /demo/app.yml
environment:
DATABASE_URL: postgres://postgres@database/postgres
CONJUR_ADMIN_PASSWORD: admin
CONJUR_DATA_KEY:
depends_on: [ database ]
volumes:
- ./conjur:/demo
database:
image: postgres:9.3
client:
image: conjurinc/cli5
depends_on: [ conjur ]
entrypoint: sleep
command: infinity
environment:
CONJUR_APPLIANCE_URL: http://conjur
CONJUR_ACCOUNT: demo
CONJUR_AUTHN_LOGIN: admin
volumes:
- ./conjur:/demo