Skip to content

Commit

Permalink
Removed HASH_SALT requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Jun 22, 2022
1 parent 50aa26e commit c246b88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit c246b88

Please sign in to comment.