Commit 963e3d41 authored by Matheus Horstmann's avatar Matheus Horstmann 🐴

Remove secret

Signed-off-by: Matheus Horstmann's avatarMatheus Horstmann <mch15@inf.ufpr.br>
parent b3840829
......@@ -14,7 +14,6 @@ ENV TINI_VERSION="v0.16.1"
ENV WORKSPACE="/home/node/app/"
ENV NODE_ENV="production"
ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/node/app/node_modules/.bin"
ENV SIMMC_SECRET="secret"
ENV SIMMC_ALERT_PATH="/home/node/app/tmp/alerts/"
ENV SIMMC_AGENT_OUTPUT="/home/node/app/tmp/agent"
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
......@@ -26,7 +25,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
COPY package*.json $WORKSPACE
RUN chmod +x /tini &&\
chown -R node:node $WORKSPACE
USER node
WORKDIR $WORKSPACE
......
......@@ -12,9 +12,6 @@ config.db_config = {
config.fqdn = webservice;
config.secret = '$SIMMC_SECRET';
config.agent = {
version: '$SIMMC_AGENT_VERSION',
webservice: webservice,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment