blob: 851ad317cd5d2e0a80afe9b2bae7de7c7a5b0af0 [file] [log] [blame]
Michal Banka5d115472020-02-14 14:55:14 +01001version: "2.1"
2
3services:
4 ejbca:
Bogumil Zebek8f9faca2020-03-06 14:44:28 +01005 image: primekey/ejbca-ce:6.15.2.5
Michal Banka5d115472020-02-14 14:55:14 +01006 hostname: cahostname
Bogumil Zebek8f9faca2020-03-06 14:44:28 +01007 container_name: aafcert-ejbca
Michal Banka5d115472020-02-14 14:55:14 +01008 ports:
Bartosz Gardziejewskid43531d2020-02-27 10:26:32 +01009 - "80:8080"
10 - "443:8443"
Michal Banka5d115472020-02-14 14:55:14 +010011 volumes:
Remigiusz Janeczekf404a662020-03-18 13:21:35 +010012 - ./compose-resources/ejbca-configuration.sh:/opt/primekey/scripts/ejbca-configuration.sh
Michal Banka5d115472020-02-14 14:55:14 +010013 healthcheck:
14 test: ["CMD-SHELL", "curl -kI https://localhost:8443/ejbca/publicweb/healthcheck/ejbcahealth"]
15 interval: 10s
16 timeout: 3s
Remigiusz Janeczekf404a662020-03-18 13:21:35 +010017 retries: 15
Bartosz Gardziejewskid43531d2020-02-27 10:26:32 +010018 networks:
19 - certservice
Michal Banka5d115472020-02-14 14:55:14 +010020
21 certservice:
Tomasz Golabek7244c902020-02-21 15:49:34 +010022 image: onap/org.onap.aaf.certservice.aaf-certservice-api:latest
Bogumil Zebek8f9faca2020-03-06 14:44:28 +010023 container_name: aafcert-service
Remigiusz Janeczekf404a662020-03-18 13:21:35 +010024 volumes:
25 - ./certService/helm/aaf-cert-service/resources/cmpServers.json:/etc/onap/aaf/certservice/cmpServers.json
Michal Banka5d115472020-02-14 14:55:14 +010026 ports:
27 - "8080:8080"
28 depends_on:
29 ejbca:
30 condition: service_healthy
Bartosz Gardziejewskid43531d2020-02-27 10:26:32 +010031 networks:
32 - certservice
Michal Banka5d115472020-02-14 14:55:14 +010033
Bartosz Gardziejewskid43531d2020-02-27 10:26:32 +010034
35networks:
36 certservice:
37 driver: bridge