mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-10 21:36:18 +00:00
build: Update dockerfile and env vars
This commit is contained in:
17
.env.example
17
.env.example
@@ -1,15 +1,20 @@
|
||||
# File path to store configurations for the API
|
||||
CONFIG_FILE_PATH=configuration.toml
|
||||
GITHUB_TOKEN=
|
||||
# Optional token for API calls to the backend
|
||||
BACKEND_API_TOKEN=
|
||||
# An option URL to the old API to proxy for migration purposes
|
||||
OLD_API_URL=
|
||||
|
||||
# Database connection details
|
||||
DB_URL=jdbc:h2:./persistence/revanced-api
|
||||
DB_USER=
|
||||
DB_PASSWORD=
|
||||
|
||||
JWT_SECRET=
|
||||
JWT_ISSUER=
|
||||
JWT_VALIDITY_IN_MIN=
|
||||
|
||||
# Basic authentication to issue JWT tokens
|
||||
BASIC_USERNAME=
|
||||
BASIC_PASSWORD=
|
||||
|
||||
OLD_API_URL=
|
||||
# JWT configuration for authenticated API endpoints
|
||||
JWT_SECRET=
|
||||
JWT_ISSUER=
|
||||
JWT_VALIDITY_IN_MIN=
|
||||
|
||||
Reference in New Issue
Block a user