Update mise.toml with accurate environment

Includes docs updates
This commit is contained in:
Claudio Ortolina
2026-01-30 15:07:54 +00:00
parent b924215585
commit 76f6791a45
2 changed files with 18 additions and 13 deletions
+3 -9
View File
@@ -92,19 +92,13 @@ It's recommended to use the git hooks included in the project. Install with:
## Environment configuration
The application requires the following environment variables:
- `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.
Required environment variables for development are listed in `mise.toml`.
You can create a `mise.local.toml` with the required variables (sample values
are included at the top of `mise.toml`).
For production, please see `compose.yaml` for a list of required variables.
## Running the application
Start the Phoenix endpoint with `mise run console` (along with an attached IEx session).
+15 -4
View File
@@ -1,10 +1,21 @@
[env]
LAST_FM_USER = 'change-me'
LAST_FM_API_KEY = 'change-me'
OPENAI_KEY = 'change-me'
# BUILD
FLUXON_KEY_FINGERPRINT = '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]
hurl = 'latest'