Update mise.toml with accurate environment
Includes docs updates
This commit is contained in:
@@ -92,19 +92,13 @@ It's recommended to use the git hooks included in the project. Install with:
|
|||||||
|
|
||||||
## Environment configuration
|
## Environment configuration
|
||||||
|
|
||||||
The application requires the following environment variables:
|
Required environment variables for development are listed in `mise.toml`.
|
||||||
|
|
||||||
- `LAST_FM_USER`: the Last.fm username used to populate the Scrobble Activity
|
|
||||||
- `LAST_FM_API_KEY` (secret): the Last.fm API key used to fetch the Scrobble Activity
|
|
||||||
- `OPENAI_KEY` (secret): the OpenAI API key used to populating genres
|
|
||||||
|
|
||||||
In production, the application also requires:
|
|
||||||
|
|
||||||
- `LOGIN_PASSWORD` (secret): the password used for accessing the application.
|
|
||||||
|
|
||||||
You can create a `mise.local.toml` with the required variables (sample values
|
You can create a `mise.local.toml` with the required variables (sample values
|
||||||
are included at the top of `mise.toml`).
|
are included at the top of `mise.toml`).
|
||||||
|
|
||||||
|
For production, please see `compose.yaml` for a list of required variables.
|
||||||
|
|
||||||
## Running the application
|
## Running the application
|
||||||
|
|
||||||
Start the Phoenix endpoint with `mise run console` (along with an attached IEx session).
|
Start the Phoenix endpoint with `mise run console` (along with an attached IEx session).
|
||||||
|
|||||||
@@ -1,10 +1,21 @@
|
|||||||
[env]
|
[env]
|
||||||
LAST_FM_USER = 'change-me'
|
# BUILD
|
||||||
LAST_FM_API_KEY = 'change-me'
|
|
||||||
OPENAI_KEY = 'change-me'
|
|
||||||
FLUXON_KEY_FINGERPRINT = 'change-me'
|
FLUXON_KEY_FINGERPRINT = 'change-me'
|
||||||
FLUXON_LICENSE_KEY = 'change-me'
|
FLUXON_LICENSE_KEY = 'change-me'
|
||||||
DBUI_URL = 'sqlite:data/music_library_dev.db'
|
|
||||||
|
# RUNTIME
|
||||||
|
CLOAK_ENCRYPTION_KEY = 'change-me'
|
||||||
|
LAST_FM_API_KEY = 'change-me'
|
||||||
|
LAST_FM_SHARED_SECRET = 'change-me'
|
||||||
|
LAST_FM_USER = 'change-me'
|
||||||
|
OPENAI_KEY = 'change-me'
|
||||||
|
DISCOGS_PERSONAL_ACCESS_TOKEN = 'change-me'
|
||||||
|
|
||||||
|
# DEPLOYMENT
|
||||||
|
HURL_api_token = 'change-me'
|
||||||
|
HURL_coolify_app_uuid = 'change-me'
|
||||||
|
HURL_coolify_host = 'https://<fqdn>'
|
||||||
|
HURL_coolify_token = 'change-me'
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
hurl = 'latest'
|
hurl = 'latest'
|
||||||
|
|||||||
Reference in New Issue
Block a user