aboutsummaryrefslogtreecommitdiffstats
path: root/dbc-client
diff options
context:
space:
mode:
Diffstat (limited to 'dbc-client')
-rw-r--r--dbc-client/misc/dbc-client11
-rw-r--r--dbc-client/src/main/resources/Dockerfile3
2 files changed, 3 insertions, 11 deletions
diff --git a/dbc-client/misc/dbc-client b/dbc-client/misc/dbc-client
index cf6c230..a7317fa 100644
--- a/dbc-client/misc/dbc-client
+++ b/dbc-client/misc/dbc-client
@@ -33,8 +33,8 @@ CONFIGMAP_ROOT=${CONFIGMAP_ROOT:-/opt/app/config}
CONTAINER_CONFIG=$CONFIGMAP_ROOT/conf/dbc-client.env
REQUESTID=${REQUESTID:-dbc-client}
DBC=${DBC:-dmaap-bc}
-PROTO=${PROTO:-http}
-PORT=${PORT:-8080}
+PROTO=${PROTO:-https}
+PORT=${PORT:-8443}
@@ -65,13 +65,6 @@ config() {
echo "Not creating $APP_ROOT/ok_to_exit"
fi
- if [ ! -f $APP_ROOT/misc/cert-client-init.sh ]
- then
- echo "Did not find $APP_ROOT/misc/cert-client-init.sh to append to truststore"
- exit 1
- fi
- $APP_ROOT/misc/cert-client-init.sh
-
set +x
}
diff --git a/dbc-client/src/main/resources/Dockerfile b/dbc-client/src/main/resources/Dockerfile
index 2025a5e..90cd7f9 100644
--- a/dbc-client/src/main/resources/Dockerfile
+++ b/dbc-client/src/main/resources/Dockerfile
@@ -37,8 +37,7 @@ RUN apk add --no-cache curl
RUN apk add --no-cache curl
-RUN chmod +x /opt/app/dbc-client/misc/cert-client-init.sh && \
- chmod +x /opt/app/dbc-client/bin/* && \
+RUN chmod +x /opt/app/dbc-client/bin/* && \
mkdir /opt/app/dbc-client/logs
VOLUME /opt/app/dbc-client/log