forked from cyberark/conjur-api-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
80 lines (72 loc) · 1.93 KB
/
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
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
74
75
76
77
78
79
80
version: '2.1'
services:
postgres:
container_name: api-go-postgres
image: postgres:9.3
conjur:
container_name: api-go-conjur
image: cyberark/conjur:1.1.0-stable
command: server -a cucumber
environment:
DATABASE_URL: postgres://postgres@postgres/postgres
CONJUR_DATA_KEY:
RAILS_ENV: development
depends_on:
- postgres
cli5:
image: conjurinc/cli5
environment:
CONJUR_APPLIANCE_URL: http://conjur
CONJUR_ACCOUNT: cucumber
cuke-master:
container_name: api-go-conjur-v4
image: registry2.itci.conjur.net/conjur-appliance-cuke-master:4.9-stable
security_opt:
- seccomp:unconfined
ports:
- 443
test:
container_name: api-go-test
build: .
ports:
- 8080
depends_on:
- conjur
volumes:
- ./output:/go/src/github.com/cyberark/conjur-api-go/output
environment:
CONJUR_DATA_KEY:
CONJUR_APPLIANCE_URL: http://conjur
CONJUR_ACCOUNT: cucumber
CONJUR_AUTHN_LOGIN: admin
CONJUR_AUTHN_API_KEY:
CONJUR_V4_APPLIANCE_URL: https://cuke-master/api
CONJUR_V4_HEALTH_URL: https://cuke-master/health
CONJUR_V4_ACCOUNT: cucumber
CONJUR_V4_AUTHN_LOGIN: admin
CONJUR_V4_AUTHN_API_KEY:
CONJUR_V4_SSL_CERTIFICATE:
TEST_VERSION:
dev:
container_name: api-go-dev
build: .
ports:
- 8080
depends_on:
- conjur
volumes:
- .:/go/src/github.com/cyberark/conjur-api-go
environment:
CONJUR_DATA_KEY:
CONJUR_APPLIANCE_URL: http://conjur
CONJUR_ACCOUNT: cucumber
CONJUR_AUTHN_LOGIN: admin
CONJUR_AUTHN_API_KEY:
CONJUR_V4_APPLIANCE_URL: https://cuke-master/api
CONJUR_V4_HEALTH_URL: https://cuke-master/health
CONJUR_V4_ACCOUNT: cucumber
CONJUR_V4_AUTHN_LOGIN: admin
CONJUR_V4_AUTHN_API_KEY:
CONJUR_V4_SSL_CERTIFICATE:
entrypoint: sleep
command: infinity