mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-21 11:17:17 -05:00
refactor: move .env file to repo root
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
408d82e280
commit
55f3bd9b60
6 changed files with 16 additions and 17 deletions
|
@ -2,12 +2,18 @@
|
|||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
HD_BASE_URL="http://localhost/"
|
||||
HD_MEDIA_BACKEND="filesystem"
|
||||
HD_MEDIA_BACKEND_FILESYSTEM_UPLOAD_PATH="uploads/"
|
||||
# General settings
|
||||
HD_BASE_URL="http://localhost:8080"
|
||||
HD_SESSION_SECRET="session_secret"
|
||||
|
||||
# Database settings
|
||||
HD_DATABASE_TYPE="sqlite"
|
||||
HD_DATABASE_NAME="./hedgedoc.sqlite"
|
||||
HD_LOGLEVEL=info
|
||||
HD_AUTH_LOCAL_ENABLE_LOGIN=true
|
||||
HD_AUTH_LOCAL_ENABLE_REGISTER=true
|
||||
#HD_SESSION_SECRET=
|
||||
|
||||
# Uploads
|
||||
HD_MEDIA_BACKEND="filesystem"
|
||||
HD_MEDIA_BACKEND_FILESYSTEM_UPLOAD_PATH="uploads/"
|
||||
|
||||
# Auth
|
||||
HD_AUTH_LOCAL_ENABLE_LOGIN="true"
|
||||
HD_AUTH_LOCAL_ENABLE_REGISTER="true"
|
3
.env.example.license
Normal file
3
.env.example.license
Normal file
|
@ -0,0 +1,3 @@
|
|||
SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
|
@ -1,2 +0,0 @@
|
|||
HD_BASE_URL="http://localhost:8080/"
|
||||
HD_RENDERER_BASE_URL="http://127.0.0.1:8080/"
|
|
@ -1,3 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
|
@ -1,2 +0,0 @@
|
|||
NEXT_PUBLIC_USE_MOCK_API=false
|
||||
NEXT_PUBLIC_TEST_MODE=false
|
|
@ -1,3 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
Loading…
Reference in a new issue