mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Removed HASH_SALT requirement.
This commit is contained in:
parent
50aa26e3fc
commit
c246b88329
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user