Change Run User for Openshift compliance

This commit is contained in:
Thibaut Demaret 2018-08-02 15:09:34 +02:00
parent afeb2de412
commit 53d545eeef
2 changed files with 3 additions and 2 deletions

View file

@ -144,7 +144,8 @@ RUN \
rm -R /home/wekan/app_build && \
rm /home/wekan/install_meteor.sh
ENV PORT=80
ENV PORT=8080
EXPOSE $PORT
USER wekan
CMD ["node", "/build/main.js"]

View file

@ -33,7 +33,7 @@ services:
- METEOR_EDGE=${METEOR_EDGE}
- USE_EDGE=${USE_EDGE}
ports:
- 80:80
- 8080:80
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
- ROOT_URL=http://localhost