diff options
Diffstat (limited to 'certService/docker-compose.yml')
-rw-r--r-- | certService/docker-compose.yml | 14 |
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 |