version: '3' services: ves: container_name: ves image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest ports: - "8082:8080" - "8444:8443" networks: - vesnetwork command: bash -c " rm -f /opt/app/VESCollector/etc/keystore && echo $$(cat /opt/app/VESCollector/etc/trustpasswordfile) && keytool -importkeystore -srckeystore /opt/app/VESCollector/etc/cert.p12 -srcstorepass $$(cat /opt/app/VESCollector/etc/passwordfile) -srcstoretype pkcs12 -destkeystore /opt/app/VESCollector/etc/keystore -deststoretype jks -deststorepass $$(cat /opt/app/VESCollector/etc/passwordfile) && bin/docker-entry.sh " volumes: - ./certservice/client-resources/client-volume/cert.p12:/opt/app/VESCollector/etc/cert.p12 - ./certservice/client-resources/client-volume/keystore.pass:/opt/app/VESCollector/etc/passwordfile - ./certservice/client-resources/client-volume/trust.jks:/opt/app/VESCollector/etc/truststore - ./certservice/client-resources/client-volume/truststore.pass:/opt/app/VESCollector/etc/trustpasswordfile onap-dmaap: container_name: dmaap image: dmaap-simulator ports: - "3904:3904" networks: - vesnetwork networks: vesnetwork: driver: bridge