From: guochuyicmri Date: Wed, 17 Apr 2019 16:03:15 +0000 (+0800) Subject: Upgrade uui-server database to postgreSQL X-Git-Tag: 2.0.0~14 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e804d7764e58ceb10fb7a931b0257cc42b76e18e;p=usecase-ui%2Fserver.git Upgrade uui-server database to postgreSQL Change-Id: I6c8a61d79fe123274df737b984b853bad09bbd5d Issue-ID: USECASEUI-236 Signed-off-by: guochuyicmri --- diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile index eb17387b..476ad77c 100644 --- a/standalone/src/main/assembly/Dockerfile +++ b/standalone/src/main/assembly/Dockerfile @@ -36,7 +36,7 @@ RUN echo "listen_addresses='*'" >> ${PG_HOME}/${PG_VERSION}/main/postgresql.conf VOLUME ["${PG_HOME}", "${PG_VAR_LIB}", "${PG_LOGDIR}"] # Set the default command to run postgreSQL when starting the container -CMD ["${PG_USR_LIB}/${PG_VERSION}/bin/postgres", "-D", "${PG_VAR_LIB}/${PG_VERSION}/main", "-c", "config_file=${PG_HOME}/${PG_VERSION}/main/postgresql.conf"] +# CMD ["${PG_USR_LIB}/${PG_VERSION}/bin/postgres", "-D", "${PG_VAR_LIB}/${PG_VERSION}/main", "-c", "config_file=${PG_HOME}/${PG_VERSION}/main/postgresql.conf"] #Configure Java SDK RUN sed -i 's|#networkaddress.cache.ttl=-1|networkaddress.cache.ttl=10|' /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security