summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-09 12:46:19 +0300
committerLauri Ojansivu <x@xet7.org>2018-08-09 12:46:19 +0300
commit445aa89e4f7b41eb94902d75dfd3fc2074d1e950 (patch)
tree22adfc3541dce7cc82a4e452031e2f239a2bfb0f
parent6a2b494713d9e5a36df88626f0b078fd5bb57cf4 (diff)
downloadwekan-445aa89e4f7b41eb94902d75dfd3fc2074d1e950.tar.gz
wekan-445aa89e4f7b41eb94902d75dfd3fc2074d1e950.tar.bz2
wekan-445aa89e4f7b41eb94902d75dfd3fc2074d1e950.zip
- Use new WITH_API and Matomo env variables at Dockerfile.
Closes #1820
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 593e9909..39002070 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,6 +10,11 @@ ARG NPM_VERSION
ARG FIBERS_VERSION
ARG ARCHITECTURE
ARG SRC_PATH
+ARG WITH_API
+ARG MATOMO_ADDRESS
+ARG MATOMO_SITE_ID
+ARG MATOMO_DO_NOT_TRACK
+ARG MATOMO_WITH_USERNAME
# Set the environment variables (defaults where required)
# DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303
@@ -23,6 +28,12 @@ ENV NPM_VERSION ${NPM_VERSION:-latest}
ENV FIBERS_VERSION ${FIBERS_VERSION:-2.0.0}
ENV ARCHITECTURE ${ARCHITECTURE:-linux-x64}
ENV SRC_PATH ${SRC_PATH:-./}
+ENV WITH_API ${WITH_API:-true}
+ENV MATOMO_ADDRESS ${MATOMO_ADDRESS:-}
+ENV MATOMO_SITE_ID ${MATOMO_SITE_ID:-}
+ENV MATOMO_DO_NOT_TRACK ${MATOMO_DO_NOT_TRACK:-false}
+ENV MATOMO_WITH_USERNAME ${MATOMO_WITH_USERNAME:-true}
+
# Copy the app to the image
COPY ${SRC_PATH} /home/wekan/app