Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Removed HASH_SALT requirement.

Mike Caoc246b8832970
diff --git a/Dockerfile b/Dockerfile
index e8cdc729a..31dfe7a36 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,12 +12,16 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
-ARG BASE_PATH
ARG DATABASE_URL
ARG DATABASE_TYPE
-ENV BASE_PATH $BASE_PATH
+ARG BASE_PATH
+ARG DISABLE_LOGIN
+
ENV DATABASE_URL $DATABASE_URL
ENV DATABASE_TYPE $DATABASE_TYPE
+ENV BASE_PATH $BASE_PATH
+ENV DISABLE_LOGIN $DISABLE_LOGIN
+
ENV NEXT_TELEMETRY_DISABLED 1
RUN yarn build
diff --git a/README.md b/README.md
index ad87928fd..afa6a2492 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,6 @@ Create an `.env` file with the following
```
DATABASE_URL=(connection url)
-HASH_SALT=(any random string)
```
The connection url is in the following format:
@@ -49,8 +48,6 @@ postgresql://username:mypassword@localhost:5432/mydb
mysql://username:mypassword@localhost:3306/mydb
```
-The `HASH_SALT` is used to generate unique values for your installation.
-
This will also create a login account with username **admin** and password **umami**.
### Build the application