-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcompose.yaml
42 lines (42 loc) · 1.04 KB
/
compose.yaml
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
services:
auks_server:
build: .
image: quay.io/cea-hpc/auks
domainname: example.com
hostname: auks
command: bash -xe /usr/local/bin/entrypoint_auksd.sh
healthcheck:
test: ["CMD", "auks", "-f", "/conf/auks.conf", "-p"]
interval: 10s
timeout: 30s
retries: 5
start_period: 10s
environment:
- KRB5_TRACE=/dev/stderr
depends_on:
kdc:
condition: service_healthy
kdc:
image: quay.io/cea-hpc/krb5-kdc-server-example-com
domainname: example.com
hostname: kdc
healthcheck:
test: ["CMD", "kadmin.local", "list_principals"]
interval: 10s
timeout: 30s
retries: 5
start_period: 10s
auks_client:
build: .
image: quay.io/cea-hpc/auks
domainname: example.com
command: bash -xe /usr/local/bin/entrypoint_auks_client.sh sleep infinity
volumes:
- type: bind
source: ./tests/
target: /tests/
depends_on:
kdc:
condition: service_healthy
auks_server:
condition: service_healthy