From 76f6791a457501632b5e7357adc2c1a27fbe4c3e Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 30 Jan 2026 15:07:54 +0000 Subject: [PATCH] Update mise.toml with accurate environment Includes docs updates --- README.md | 12 +++--------- mise.toml | 19 +++++++++++++++---- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 17aab425..b295d2e8 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/mise.toml b/mise.toml index fff33b0b..c4fe003f 100644 --- a/mise.toml +++ b/mise.toml @@ -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://' +HURL_coolify_token = 'change-me' [tools] hurl = 'latest'