Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 1 | version: "2.1" |
| 2 | |
| 3 | services: |
| 4 | ejbca: |
Bogumil Zebek | 8f9faca | 2020-03-06 14:44:28 +0100 | [diff] [blame] | 5 | image: primekey/ejbca-ce:6.15.2.5 |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 6 | hostname: cahostname |
Bogumil Zebek | 8f9faca | 2020-03-06 14:44:28 +0100 | [diff] [blame] | 7 | container_name: aafcert-ejbca |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 8 | ports: |
Bartosz Gardziejewski | d43531d | 2020-02-27 10:26:32 +0100 | [diff] [blame] | 9 | - "80:8080" |
| 10 | - "443:8443" |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 11 | volumes: |
Remigiusz Janeczek | f404a66 | 2020-03-18 13:21:35 +0100 | [diff] [blame] | 12 | - ./compose-resources/ejbca-configuration.sh:/opt/primekey/scripts/ejbca-configuration.sh |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 13 | healthcheck: |
| 14 | test: ["CMD-SHELL", "curl -kI https://localhost:8443/ejbca/publicweb/healthcheck/ejbcahealth"] |
| 15 | interval: 10s |
| 16 | timeout: 3s |
Remigiusz Janeczek | f404a66 | 2020-03-18 13:21:35 +0100 | [diff] [blame] | 17 | retries: 15 |
Bartosz Gardziejewski | d43531d | 2020-02-27 10:26:32 +0100 | [diff] [blame] | 18 | networks: |
| 19 | - certservice |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 20 | |
| 21 | certservice: |
Tomasz Golabek | 7244c90 | 2020-02-21 15:49:34 +0100 | [diff] [blame] | 22 | image: onap/org.onap.aaf.certservice.aaf-certservice-api:latest |
Bogumil Zebek | 8f9faca | 2020-03-06 14:44:28 +0100 | [diff] [blame] | 23 | container_name: aafcert-service |
Remigiusz Janeczek | f404a66 | 2020-03-18 13:21:35 +0100 | [diff] [blame] | 24 | volumes: |
| 25 | - ./certService/helm/aaf-cert-service/resources/cmpServers.json:/etc/onap/aaf/certservice/cmpServers.json |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 26 | ports: |
| 27 | - "8080:8080" |
| 28 | depends_on: |
| 29 | ejbca: |
| 30 | condition: service_healthy |
Bartosz Gardziejewski | d43531d | 2020-02-27 10:26:32 +0100 | [diff] [blame] | 31 | networks: |
| 32 | - certservice |
Michal Banka | 5d11547 | 2020-02-14 14:55:14 +0100 | [diff] [blame] | 33 | |
Bartosz Gardziejewski | d43531d | 2020-02-27 10:26:32 +0100 | [diff] [blame] | 34 | |
| 35 | networks: |
| 36 | certservice: |
| 37 | driver: bridge |