Fix wrong version of frankfurt images in aaf/certservice
[integration/csit.git] / plans / aaf / certservice / docker-compose.yml
1 version: "2.1"
2
3 services:
4   ejbca:
5     image: primekey/ejbca-ce:6.15.2.5
6     hostname: cahostname
7     container_name: aafcert-ejbca
8     ports:
9       - "80:8080"
10       - "443:8443"
11     volumes:
12       - $SCRIPTS_PATH:/opt/primekey/scripts
13     healthcheck:
14       test: ["CMD-SHELL", "curl -kI https://localhost:8443/ejbca/publicweb/healthcheck/ejbcahealth"]
15       interval: 20s
16       timeout: 3s
17       retries: 9
18     networks:
19       - certservice
20
21   aaf-cert-service:
22     image: nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-api:frankfurt-latest
23     volumes:
24       - $CONFIGURATION_PATH:/etc/onap/aaf/certservice/cmpServers.json
25       - ./certs/truststore.jks:/etc/onap/aaf/certservice/certs/truststore.jks
26       - ./certs/root.crt:/etc/onap/aaf/certservice/certs/root.crt
27       - ./certs/certServiceServer-keystore.jks:/etc/onap/aaf/certservice/certs/certServiceServer-keystore.jks
28       - ./certs/certServiceServer-keystore.p12:/etc/onap/aaf/certservice/certs/certServiceServer-keystore.p12
29     container_name: aafcert-service
30     ports:
31       - "8443:8443"
32     depends_on:
33       ejbca:
34         condition: service_healthy
35     healthcheck:
36       test: ["CMD-SHELL", "curl https://localhost:8443/actuator/health --cacert /etc/onap/aaf/certservice/certs/root.crt --cert-type p12 --cert /etc/onap/aaf/certservice/certs/certServiceServer-keystore.p12 --pass secret"]
37       interval: 10s
38       timeout: 3s
39       retries: 15
40     networks:
41       - certservice
42
43
44 networks:
45   certservice:
46     driver: bridge
47