Skip to content
Snippets Groups Projects
Commit 3f7c15bb authored by kbeyro's avatar kbeyro
Browse files

update to fit new application.properties

parent aace1d43
No related branches found
No related tags found
1 merge request!9update properties for docker flags
Pipeline #87431 passed
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
...@@ -13,7 +13,8 @@ MAINTAINER nmaas@lists.geant.org ...@@ -13,7 +13,8 @@ MAINTAINER nmaas@lists.geant.org
COPY --from=builder /build/build/libs/*.jar /nmaas/platform/ COPY --from=builder /build/build/libs/*.jar /nmaas/platform/
COPY docker/run_platform.sh /nmaas/scripts/run_platform.sh COPY docker/run_platform.sh /nmaas/scripts/run_platform.sh
COPY docker/nmaas-platform.properties.template /nmaas/platform/config/nmaas-platform.properties.template # COPY docker/nmaas-platform.properties.template /nmaas/platform/config/nmaas-platform.properties.template
COPY src/main/resources/application.properties /nmaas/platform/config/application.properties
COPY docker/log4j2-spring.json /nmaas/platform/config/log4j2-spring.json COPY docker/log4j2-spring.json /nmaas/platform/config/log4j2-spring.json
COPY docker/do-ntp.sh /etc/periodic/hourly/do-ntp.sh COPY docker/do-ntp.sh /etc/periodic/hourly/do-ntp.sh
COPY docker/ssh-config /root/.ssh/config COPY docker/ssh-config /root/.ssh/config
......
...@@ -4,9 +4,9 @@ FILE=$(ls $DIR | grep .jar) ...@@ -4,9 +4,9 @@ FILE=$(ls $DIR | grep .jar)
cd $DIR cd $DIR
if [[ -z "${PLATFORM_PORT}" ]]; then if [[ -z "${PLATFORM_PORT}" ]]; then
cp $DIR/config/nmaas-platform.properties.default $DIR/nmaas-platform.properties cp $DIR/config/application.properties $DIR/nmaas-platform.properties
else else
envsubst < $DIR/config/nmaas-platform.properties.template > $DIR/nmaas-platform.properties envsubst < $DIR/config/application.properties > $DIR/nmaas-platform.properties
fi fi
mkdir -p /root/.ssh mkdir -p /root/.ssh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment