-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdocker-compose.oss.yml
More file actions
34 lines (32 loc) · 1.03 KB
/
docker-compose.oss.yml
File metadata and controls
34 lines (32 loc) · 1.03 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
services:
database:
image: postgres:15
environment:
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 3s
timeout: 5s
retries: 5
conjur:
image: ${REGISTRY_URL:-docker.io}/cyberark/conjur:edge
command: server
environment:
DATABASE_URL: postgres://postgres@database/postgres
CONJUR_DATA_KEY:
CONJUR_AUTHENTICATORS: authn,authn-iam/prod,authn-azure/AzureTerraform,authn-gcp,authn-jwt/my-service
depends_on: [ database ]
ports:
- "80"
conjur-server:
image: nginx:alpine
ports:
- 443
volumes:
- ./conf/https_config/nginx.conf:/etc/nginx/nginx.conf:ro
- ./conf/https_config/conjur.conf:/etc/nginx/sites-enabled/conjur.conf:ro
- ./conf/https_config/dhparams.pem:/etc/nginx/dhparams.pem:ro
- ./conf/https_config/conjur.crt:/cert/tls.crt:ro
- ./conf/https_config/conjur.key:/cert/tls.key:ro
- ./conf/https_config/ca.crt:/ca/tls.crt:ro
depends_on: [ conjur ]