Merge pull request #1816 from Worteks/devel

Change Run User for Openshift compliance
This commit is contained in:
Lauri Ojansivu 2018-08-02 16:25:27 +03:00 committed by GitHub
commit d1400f48c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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