refactor: move .env file to repo root

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2023-03-25 16:16:50 +01:00 committed by Tilman Vatteroth
parent 408d82e280
commit 55f3bd9b60
6 changed files with 16 additions and 17 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
SPDX-License-Identifier: CC0-1.0

View file

@ -1,2 +0,0 @@
HD_BASE_URL="http://localhost:8080/"
HD_RENDERER_BASE_URL="http://127.0.0.1:8080/"

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
SPDX-License-Identifier: CC0-1.0

View file

@ -1,2 +0,0 @@
NEXT_PUBLIC_USE_MOCK_API=false
NEXT_PUBLIC_TEST_MODE=false

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
SPDX-License-Identifier: CC0-1.0