From c246b883297064101ba497ac917e719162995361 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Wed, 22 Jun 2022 11:02:40 -0700 Subject: [PATCH] Removed HASH_SALT requirement. --- Dockerfile | 8 ++++++-- README.md | 3 --- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8cdc729..31dfe7a3 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 ad87928f..afa6a249 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