Removed HASH_SALT requirement.

This commit is contained in:
Mike Cao 2022-06-22 11:02:40 -07:00
parent 50aa26e3fc
commit c246b88329
2 changed files with 6 additions and 5 deletions

View File

@ -12,12 +12,16 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
ARG BASE_PATH
ARG DATABASE_URL ARG DATABASE_URL
ARG DATABASE_TYPE ARG DATABASE_TYPE
ENV BASE_PATH $BASE_PATH ARG BASE_PATH
ARG DISABLE_LOGIN
ENV DATABASE_URL $DATABASE_URL ENV DATABASE_URL $DATABASE_URL
ENV DATABASE_TYPE $DATABASE_TYPE ENV DATABASE_TYPE $DATABASE_TYPE
ENV BASE_PATH $BASE_PATH
ENV DISABLE_LOGIN $DISABLE_LOGIN
ENV NEXT_TELEMETRY_DISABLED 1 ENV NEXT_TELEMETRY_DISABLED 1
RUN yarn build RUN yarn build

View File

@ -39,7 +39,6 @@ Create an `.env` file with the following
``` ```
DATABASE_URL=(connection url) DATABASE_URL=(connection url)
HASH_SALT=(any random string)
``` ```
The connection url is in the following format: The connection url is in the following format:
@ -49,8 +48,6 @@ postgresql://username:mypassword@localhost:5432/mydb
mysql://username:mypassword@localhost:3306/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**. This will also create a login account with username **admin** and password **umami**.
### Build the application ### Build the application