summaryrefslogtreecommitdiffstats
path: root/certService/docker-compose.yml
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-02-27 10:26:32 +0100
committerTomasz Golabek <tomasz.golabek@nokia.com>2020-03-05 13:44:05 +0100
commitd43531d4072653b86cc86459816e54806ad589c2 (patch)
tree1a19068cede89992c4f37e8e8b25ec6afc94b53c /certService/docker-compose.yml
parent8f26d1f4274f18bd9502386700919933045e2316 (diff)
Create adapter for Cmpv2Client
connected-with: https://gerrit.onap.org/r/c/aaf/certservice/+/102401 Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: Ieb85cd9c93f7a5470fca37a9de4bead3c543199a
Diffstat (limited to 'certService/docker-compose.yml')
-rw-r--r--certService/docker-compose.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/certService/docker-compose.yml b/certService/docker-compose.yml
index f418fc1b..3b071ace 100644
--- a/certService/docker-compose.yml
+++ b/certService/docker-compose.yml
@@ -6,10 +6,10 @@ services:
hostname: cahostname
container_name: mycontainer
ports:
- - "80:8080"
- - "443:8443"
+ - "80:8080"
+ - "443:8443"
volumes:
- - ./src/main/resources/scripts/:/opt/primekey/scripts
+ - ./src/main/resources/scripts/:/opt/primekey/scripts
command: bash -c "
./scripts/ejbca-configuration.sh &
/opt/primekey/bin/start.sh
@@ -19,6 +19,8 @@ services:
interval: 10s
timeout: 3s
retries: 9
+ networks:
+ - certservice
certservice:
image: onap/org.onap.aaf.certservice.aaf-certservice-api:latest
@@ -30,4 +32,10 @@ services:
depends_on:
ejbca:
condition: service_healthy
+ networks:
+ - certservice
+
+networks:
+ certservice:
+ driver: bridge