summaryrefslogtreecommitdiffstats
path: root/deliveries
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-08-13 16:38:29 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-13 16:38:29 +0000
commit1e9288436bcfedeb57efaeef18e4c985466e9af5 (patch)
treef86e90a77a5bc77c1e1a2780879c41afdc404df8 /deliveries
parent62a129a703f540835d74086ba475c81ef8f88705 (diff)
parent7a3e2594842990fa4450aead1f7b1d87ff9bb20e (diff)
Merge "moving certs from docker image to mounted catalog"
Diffstat (limited to 'deliveries')
-rwxr-xr-xdeliveries/src/main/docker/docker-files/Dockerfile4
-rwxr-xr-xdeliveries/src/main/docker/docker-files/docker-compose.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile
index 106b8a394..62feb8c3c 100755
--- a/deliveries/src/main/docker/docker-files/Dockerfile
+++ b/deliveries/src/main/docker/docker-files/Dockerfile
@@ -85,13 +85,11 @@ ENV JAVA_OPTS="-Xmx1536m -Xms1536m"
ENV CATALINA_OPTS="-Dvid.keystore.password=${VID_KEYSTORE_PASSWORD} -Dvid.keyalias=vid@vid.onap.org -Dvid.keystore.filename=${VID_KEYSTORE_FILENAME} -Dcom.att.eelf.logging.file=logback.xml -Dcom.att.eelf.logging.path=/tmp"
-ADD maven/config/org.onap.vid.jks ${VID_KEYSTORE_FILENAME}
-ADD maven/config/org.onap.vid.trust.jks ${VID_TRUSTSTORE_FILENAME}
ADD maven/config/server.xml ${VID_TOMCAT_PATH}
ADD maven/scripts/*.sh /tmp/vid/
ADD maven/artifacts/vid.war /tmp/vid/stage/
-RUN chown onap:onap /tmp/vid /usr/local/tomcat /opt/app -R
+RUN chown onap:onap /tmp/vid /usr/local/tomcat -R
RUN chmod +x /tmp/vid/localize.sh
USER onap
CMD ["/tmp/vid/localize.sh"]
diff --git a/deliveries/src/main/docker/docker-files/docker-compose.yml b/deliveries/src/main/docker/docker-files/docker-compose.yml
index 8d321cfb5..a62636c49 100755
--- a/deliveries/src/main/docker/docker-files/docker-compose.yml
+++ b/deliveries/src/main/docker/docker-files/docker-compose.yml
@@ -16,6 +16,8 @@ services:
ASDC_CLIENT_REST_PORT: 1080
VID_AAI_URL: http://vid-simulator:1080
VID_MSO_SERVER_URL: http://vid-simulator:1080
+ volumes:
+ - ../../../../../epsdk-app-onap/src/main/webapp/WEB-INF/cert:/opt/app/vid/etc
vid-mariadb:
image: mariadb:10