summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-02 16:25:27 +0300
committerGitHub <noreply@github.com>2018-08-02 16:25:27 +0300
commitd1400f48c30886bf791dad3e82378177381f84b4 (patch)
treed93667c8fb196327befc4c01b0498f222f0542d1
parentafeb2de412f120e28d8bc081e12c4380949ffb93 (diff)
parent53d545eeef7e796bd910f7cce666686ca05de544 (diff)
downloadwekan-d1400f48c30886bf791dad3e82378177381f84b4.tar.gz
wekan-d1400f48c30886bf791dad3e82378177381f84b4.tar.bz2
wekan-d1400f48c30886bf791dad3e82378177381f84b4.zip
Merge pull request #1816 from Worteks/devel
Change Run User for Openshift compliance
-rw-r--r--Dockerfile3
-rw-r--r--docker-compose.yml2
2 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 4268e472..bfdce234 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]
diff --git a/docker-compose.yml b/docker-compose.yml
index 34e32d5e..79c4ec43 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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