blob: 04d4867f79d37366262b633ffcdffc6a56134f25 [file] [log] [blame]
Michal Banka5d115472020-02-14 14:55:14 +01001version: "2.1"
2
3services:
4 ejbca:
5 image: primekey/ejbca-ce
6 hostname: cahostname
7 container_name: mycontainer
8 ports:
9 - "80:8080"
10 - "443:8443"
11 volumes:
12 - ./src/main/resources/scripts/:/opt/primekey/scripts
13 command: bash -c "
14 ./scripts/ejbca-configuration.sh &
15 /opt/primekey/bin/start.sh
16 "
17 healthcheck:
18 test: ["CMD-SHELL", "curl -kI https://localhost:8443/ejbca/publicweb/healthcheck/ejbcahealth"]
19 interval: 10s
20 timeout: 3s
21 retries: 9
22
23 certservice:
24 image: nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-api:1.0.0
25 container_name: certservice
26 ports:
27 - "8080:8080"
28 depends_on:
29 ejbca:
30 condition: service_healthy
31